Apache2
|
Modules | |
APR_Util Error Values | |
Status Value Tests | |
Data Structures | |
struct | apu_err_t |
Typedefs | |
typedef struct apu_err_t | apu_err_t |
Functions | |
apu_err_t * | apr_errprintf (apu_err_t *result, apr_pool_t *p, const char *reason, int rc, const char *fmt,...) __attribute__((format(printf |
apu_err_t | __attribute__ ((nonnull(2))) |
This structure allows the underlying API error codes to be returned along with plain text error messages that explain to us mere mortals what really happened.
apu_err_t __attribute__ | ( | (nonnull(2)) | ) |
apu_err_t* apr_errprintf | ( | apu_err_t * | result, |
apr_pool_t * | p, | ||
const char * | reason, | ||
int | rc, | ||
const char * | fmt, | ||
... | |||
) |
Populate a apu_err_t structure with the given error, allocated from the given pool.
If the result parameter points at a NULL pointer, a apu_err_t structure will be allocated, otherwise the apu_err_t structure will be reused.
result | If NULL, the apu_err_t structure is allocated and returned, otherwise the existing apu_err_t is used. |
p | The pool to use. |
reason | The reason string, may be NULL. |
rc | The underlying result code. |
fmt | The format of the string |
... | The arguments to use while printing the data |