Main Page | Modules | Namespace List | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

errorcodes.c File Reference

#include "apr_arch_misc.h"
#include "apr_strings.h"
#include "apr_lib.h"
#include "apr_dso.h"

Include dependency graph for errorcodes.c:

Go to the source code of this file.

Functions

static char * stuffbuffer (char *buf, apr_size_t bufsize, const char *s)
static char * apr_error_string (apr_status_t statcode)
static char * apr_os_strerror (char *buf, apr_size_t bufsize, int err)
static char * native_strerror (apr_status_t statcode, char *buf, apr_size_t bufsize)
 APR_DECLARE (char *)


Function Documentation

APR_DECLARE char *   ) 
 

Definition at line 387 of file errorcodes.c.

References apr_error_string(), APR_OS_START_EAIERR, APR_OS_START_ERROR, APR_OS_START_SYSERR, APR_OS_START_USERERR, apr_os_strerror(), native_strerror(), and stuffbuffer().

Here is the call graph for this function:

static char* apr_error_string apr_status_t  statcode  )  [static]
 

Definition at line 39 of file errorcodes.c.

References APR_ANONYMOUS, APR_BADARG, APR_BADCH, APR_CHILD_DONE, APR_CHILD_NOTDONE, APR_DETACH, APR_EABOVEROOT, APR_EABSOLUTE, APR_EBADDATE, APR_EBADIP, APR_EBADMASK, APR_EBADPATH, APR_EDSOOPEN, APR_EINCOMPLETE, APR_EINIT, APR_EINVALSOCK, APR_EMISMATCH, APR_ENODIR, APR_ENOLOCK, APR_ENOPOLL, APR_ENOPOOL, APR_ENOPROC, APR_ENOSHMAVAIL, APR_ENOSOCKET, APR_ENOTHDKEY, APR_ENOTHREAD, APR_ENOTIME, APR_ENOTIMPL, APR_EOF, APR_EPATHWILD, APR_EPROC_UNKNOWN, APR_ERELATIVE, APR_FILEBASED, APR_INCHILD, APR_INCOMPLETE, APR_INPARENT, APR_KEYBASED, APR_NOTDETACH, APR_NOTFOUND, and APR_TIMEUP.

Referenced by APR_DECLARE().

static char* apr_os_strerror char *  buf,
apr_size_t  bufsize,
int  err
[static]
 

Definition at line 295 of file errorcodes.c.

References stuffbuffer().

Referenced by APR_DECLARE().

Here is the call graph for this function:

static char* native_strerror apr_status_t  statcode,
char *  buf,
apr_size_t  bufsize
[static]
 

Definition at line 368 of file errorcodes.c.

References strerror(), and stuffbuffer().

Referenced by APR_DECLARE().

Here is the call graph for this function:

static char* stuffbuffer char *  buf,
apr_size_t  bufsize,
const char *  s
[static]
 

Definition at line 33 of file errorcodes.c.

Referenced by APR_DECLARE(), apr_os_strerror(), and native_strerror().