Initialize the PJ Library. This function must be called before using the library. The purpose of this function is to initialize static library data, such as character table used in random string generation, and to initialize operating system dependent functionality (such as WSAStartup() in Windows).
Apart from calling pj_init(), application typically should also initialize the random seed by calling pj_srand().
- Returns
- PJ_SUCCESS on success.