This is collection of oddballs that didn't fit anywhere else, and might move to more appropriate headers with the release of APR 1.0.
◆ apr_killpg
| #define apr_killpg |
( |
|
x, |
|
|
|
y |
|
) |
| (killpg ((x), (y))) |
apr_killpg Small utility macros to make things easier to read. Not usually a goal, to be sure..
◆ HUGE_STRING_LEN
| #define HUGE_STRING_LEN 8192 |
A constant representing a 'large' string.
◆ apr_vformatter_buff_t
◆ apr_filepath_name_get()
| const char* apr_filepath_name_get |
( |
const char * |
pathname | ) |
|
return the final element of the pathname
- Parameters
-
| pathname | The path to get the final element of |
- Returns
- the final element of the path
◆ apr_password_get()
| apr_status_t apr_password_get |
( |
const char * |
prompt, |
|
|
char * |
pwbuf, |
|
|
apr_size_t * |
bufsize |
|
) |
| |
Display a prompt and read in the password from stdin.
- Parameters
-
| prompt | The prompt to display |
| pwbuf | Buffer to store the password |
| bufsize | The length of the password buffer. |
◆ apr_vformatter()
apr_vformatter() is a generic printf-style formatting routine with some extensions.
- Parameters
-
| flush_func | The function to call when the buffer is full |
| c | The buffer to write to |
| fmt | The format string |
| ap | The arguments to use to fill out the format string. |