Library initialization and termination
Detailed Description
String and memory functions
Function Documentation
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.
- Parameters:
-
| 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.
void apr_terminate |
( |
void |
|
) |
|
Tear down any APR internal data structures which aren't torn down automatically.
void apr_terminate2 |
( |
void |
|
) |
|
Tear down any APR internal data structures which aren't torn down automatically, same as apr_terminate