Apache Portable Runtime
|apr_status_t||apr_app_initialize (int *argc, char const *const **argv, char const *const **env)|
|apr_status_t apr_app_initialize||(||int *||argc,|
|char const *const **||argv,|
|char const *const **||env|
Set up an application with normalized argc, argv (and optionally env) in order to deal with platform-specific oddities, such as Win32 services, code pages and signals. This must be the first function called for any APR program.
|argc||Pointer to the argc that may be corrected|
|argv||Pointer to the argv that may be corrected|
|env||Pointer to the env that may be corrected, may be NULL|
Setup any APR internal data structures. This MUST be the first function called for any APR library. It is safe to call apr_initialize several times as long as apr_terminate is called the same number of times.
Tear down any APR internal data structures which aren't torn down automatically, same as apr_terminate