Apache Portable Runtime
Macros

Macros

#define APR_ENOSTAT   (APR_OS_START_ERROR + 1)
 
#define APR_ENOPOOL   (APR_OS_START_ERROR + 2)
 
#define APR_EBADDATE   (APR_OS_START_ERROR + 4)
 
#define APR_EINVALSOCK   (APR_OS_START_ERROR + 5)
 
#define APR_ENOPROC   (APR_OS_START_ERROR + 6)
 
#define APR_ENOTIME   (APR_OS_START_ERROR + 7)
 
#define APR_ENODIR   (APR_OS_START_ERROR + 8)
 
#define APR_ENOLOCK   (APR_OS_START_ERROR + 9)
 
#define APR_ENOPOLL   (APR_OS_START_ERROR + 10)
 
#define APR_ENOSOCKET   (APR_OS_START_ERROR + 11)
 
#define APR_ENOTHREAD   (APR_OS_START_ERROR + 12)
 
#define APR_ENOTHDKEY   (APR_OS_START_ERROR + 13)
 
#define APR_EGENERAL   (APR_OS_START_ERROR + 14)
 
#define APR_ENOSHMAVAIL   (APR_OS_START_ERROR + 15)
 
#define APR_EBADIP   (APR_OS_START_ERROR + 16)
 
#define APR_EBADMASK   (APR_OS_START_ERROR + 17)
 
#define APR_EDSOOPEN   (APR_OS_START_ERROR + 19)
 
#define APR_EABSOLUTE   (APR_OS_START_ERROR + 20)
 
#define APR_ERELATIVE   (APR_OS_START_ERROR + 21)
 
#define APR_EINCOMPLETE   (APR_OS_START_ERROR + 22)
 
#define APR_EABOVEROOT   (APR_OS_START_ERROR + 23)
 
#define APR_EBADPATH   (APR_OS_START_ERROR + 24)
 
#define APR_EPATHWILD   (APR_OS_START_ERROR + 25)
 
#define APR_ESYMNOTFOUND   (APR_OS_START_ERROR + 26)
 
#define APR_EPROC_UNKNOWN   (APR_OS_START_ERROR + 27)
 
#define APR_ENOTENOUGHENTROPY   (APR_OS_START_ERROR + 28)
 
#define APR_INCHILD   (APR_OS_START_STATUS + 1)
 
#define APR_INPARENT   (APR_OS_START_STATUS + 2)
 
#define APR_DETACH   (APR_OS_START_STATUS + 3)
 
#define APR_NOTDETACH   (APR_OS_START_STATUS + 4)
 
#define APR_CHILD_DONE   (APR_OS_START_STATUS + 5)
 
#define APR_CHILD_NOTDONE   (APR_OS_START_STATUS + 6)
 
#define APR_TIMEUP   (APR_OS_START_STATUS + 7)
 
#define APR_INCOMPLETE   (APR_OS_START_STATUS + 8)
 
#define APR_BADCH   (APR_OS_START_STATUS + 12)
 
#define APR_BADARG   (APR_OS_START_STATUS + 13)
 
#define APR_EOF   (APR_OS_START_STATUS + 14)
 
#define APR_NOTFOUND   (APR_OS_START_STATUS + 15)
 
#define APR_ANONYMOUS   (APR_OS_START_STATUS + 19)
 
#define APR_FILEBASED   (APR_OS_START_STATUS + 20)
 
#define APR_KEYBASED   (APR_OS_START_STATUS + 21)
 
#define APR_EINIT   (APR_OS_START_STATUS + 22)
 
#define APR_ENOTIMPL   (APR_OS_START_STATUS + 23)
 
#define APR_EMISMATCH   (APR_OS_START_STATUS + 24)
 
#define APR_EBUSY   (APR_OS_START_STATUS + 25)
 
#define APR_EACCES   (APR_OS_START_CANONERR + 1)
 
#define APR_EEXIST   (APR_OS_START_CANONERR + 2)
 
#define APR_ENAMETOOLONG   (APR_OS_START_CANONERR + 3)
 
#define APR_ENOENT   (APR_OS_START_CANONERR + 4)
 
#define APR_ENOTDIR   (APR_OS_START_CANONERR + 5)
 
#define APR_ENOSPC   (APR_OS_START_CANONERR + 6)
 
#define APR_ENOMEM   (APR_OS_START_CANONERR + 7)
 
#define APR_EMFILE   (APR_OS_START_CANONERR + 8)
 
#define APR_ENFILE   (APR_OS_START_CANONERR + 9)
 
#define APR_EBADF   (APR_OS_START_CANONERR + 10)
 
#define APR_EINVAL   (APR_OS_START_CANONERR + 11)
 
#define APR_ESPIPE   (APR_OS_START_CANONERR + 12)
 
#define APR_EAGAIN   (APR_OS_START_CANONERR + 13)
 
#define APR_EINTR   (APR_OS_START_CANONERR + 14)
 
#define APR_ENOTSOCK   (APR_OS_START_CANONERR + 15)
 
#define APR_ECONNREFUSED   (APR_OS_START_CANONERR + 16)
 
#define APR_EINPROGRESS   (APR_OS_START_CANONERR + 17)
 
#define APR_ECONNABORTED   (APR_OS_START_CANONERR + 18)
 
#define APR_ECONNRESET   (APR_OS_START_CANONERR + 19)
 
#define APR_ETIMEDOUT   (APR_OS_START_CANONERR + 20)
 
#define APR_EHOSTUNREACH   (APR_OS_START_CANONERR + 21)
 
#define APR_ENETUNREACH   (APR_OS_START_CANONERR + 22)
 
#define APR_EFTYPE   (APR_OS_START_CANONERR + 23)
 
#define APR_EPIPE   (APR_OS_START_CANONERR + 24)
 
#define APR_EXDEV   (APR_OS_START_CANONERR + 25)
 
#define APR_ENOTEMPTY   (APR_OS_START_CANONERR + 26)
 
#define APR_EAFNOSUPPORT   (APR_OS_START_CANONERR + 27)
 
#define APR_EOPNOTSUPP   (APR_OS_START_CANONERR + 28)
 
#define APR_ERANGE   (APR_OS_START_CANONERR + 29)
 

Detailed Description

APR ERROR VALUES
APR_ENOSTAT      APR was unable to perform a stat on the file 
APR_ENOPOOL      APR was not provided a pool with which to allocate memory
APR_EBADDATE     APR was given an invalid date 
APR_EINVALSOCK   APR was given an invalid socket
APR_ENOPROC      APR was not given a process structure
APR_ENOTIME      APR was not given a time structure
APR_ENODIR       APR was not given a directory structure
APR_ENOLOCK      APR was not given a lock structure
APR_ENOPOLL      APR was not given a poll structure
APR_ENOSOCKET    APR was not given a socket
APR_ENOTHREAD    APR was not given a thread structure
APR_ENOTHDKEY    APR was not given a thread key structure
APR_ENOSHMAVAIL  There is no more shared memory available
APR_EDSOOPEN     APR was unable to open the dso object.  For more 
                 information call apr_dso_error().
APR_EGENERAL     General failure (specific information not available)
APR_EBADIP       The specified IP address is invalid
APR_EBADMASK     The specified netmask is invalid
APR_ESYMNOTFOUND Could not find the requested symbol
APR_ENOTENOUGHENTROPY Not enough entropy to continue
APR STATUS VALUES
APR_INCHILD        Program is currently executing in the child
APR_INPARENT       Program is currently executing in the parent
APR_DETACH         The thread is detached
APR_NOTDETACH      The thread is not detached
APR_CHILD_DONE     The child has finished executing
APR_CHILD_NOTDONE  The child has not finished executing
APR_TIMEUP         The operation did not finish before the timeout
APR_INCOMPLETE     The operation was incomplete although some processing
                   was performed and the results are partially valid
APR_BADCH          Getopt found an option not in the option string
APR_BADARG         Getopt found an option that is missing an argument 
                   and an argument was specified in the option string
APR_EOF            APR has encountered the end of the file
APR_NOTFOUND       APR was unable to find the socket in the poll structure
APR_ANONYMOUS      APR is using anonymous shared memory
APR_FILEBASED      APR is using a file name as the key to the shared memory
APR_KEYBASED       APR is using a shared key as the key to the shared memory
APR_EINIT          Ininitalizer value.  If no option has been found, but 
                   the status variable requires a value, this should be used
APR_ENOTIMPL       The APR function has not been implemented on this 
                   platform, either because nobody has gotten to it yet, 
                   or the function is impossible on this platform.
APR_EMISMATCH      Two passwords do not match.
APR_EABSOLUTE      The given path was absolute.
APR_ERELATIVE      The given path was relative.
APR_EINCOMPLETE    The given path was neither relative nor absolute.
APR_EABOVEROOT     The given path was above the root path.
APR_EBUSY          The given lock was busy.
APR_EPROC_UNKNOWN  The given process wasn't recognized by APR

Macro Definition Documentation

#define APR_ANONYMOUS   (APR_OS_START_STATUS + 19)
#define APR_BADARG   (APR_OS_START_STATUS + 13)
#define APR_BADCH   (APR_OS_START_STATUS + 12)
#define APR_CHILD_DONE   (APR_OS_START_STATUS + 5)
#define APR_CHILD_NOTDONE   (APR_OS_START_STATUS + 6)
#define APR_DETACH   (APR_OS_START_STATUS + 3)
#define APR_EABOVEROOT   (APR_OS_START_ERROR + 23)
#define APR_EABSOLUTE   (APR_OS_START_ERROR + 20)
#define APR_EACCES   (APR_OS_START_CANONERR + 1)
#define APR_EAFNOSUPPORT   (APR_OS_START_CANONERR + 27)
#define APR_EAGAIN   (APR_OS_START_CANONERR + 13)
See also
APR_STATUS_IS_EAGAIN
Warning
use APR_STATUS_IS_EAGAIN instead of just testing this value
#define APR_EBADDATE   (APR_OS_START_ERROR + 4)
#define APR_EBADF   (APR_OS_START_CANONERR + 10)
#define APR_EBADIP   (APR_OS_START_ERROR + 16)
#define APR_EBADMASK   (APR_OS_START_ERROR + 17)
#define APR_EBADPATH   (APR_OS_START_ERROR + 24)
#define APR_EBUSY   (APR_OS_START_STATUS + 25)
#define APR_ECONNABORTED   (APR_OS_START_CANONERR + 18)
See also
APR_STATUS_IS_ECONNABORTED
Warning
use APR_STATUS_IS_ECONNABORTED instead of just testing this value
#define APR_ECONNREFUSED   (APR_OS_START_CANONERR + 16)
#define APR_ECONNRESET   (APR_OS_START_CANONERR + 19)
#define APR_EDSOOPEN   (APR_OS_START_ERROR + 19)
See also
APR_STATUS_IS_EDSOPEN
#define APR_EEXIST   (APR_OS_START_CANONERR + 2)
#define APR_EFTYPE   (APR_OS_START_CANONERR + 23)
#define APR_EGENERAL   (APR_OS_START_ERROR + 14)
#define APR_EHOSTUNREACH   (APR_OS_START_CANONERR + 21)
#define APR_EINCOMPLETE   (APR_OS_START_ERROR + 22)
#define APR_EINIT   (APR_OS_START_STATUS + 22)
#define APR_EINPROGRESS   (APR_OS_START_CANONERR + 17)
#define APR_EINTR   (APR_OS_START_CANONERR + 14)
#define APR_EINVAL   (APR_OS_START_CANONERR + 11)
#define APR_EINVALSOCK   (APR_OS_START_ERROR + 5)
#define APR_EMFILE   (APR_OS_START_CANONERR + 8)
#define APR_EMISMATCH   (APR_OS_START_STATUS + 24)
#define APR_ENAMETOOLONG   (APR_OS_START_CANONERR + 3)
#define APR_ENETUNREACH   (APR_OS_START_CANONERR + 22)
#define APR_ENFILE   (APR_OS_START_CANONERR + 9)
#define APR_ENODIR   (APR_OS_START_ERROR + 8)
#define APR_ENOENT   (APR_OS_START_CANONERR + 4)
#define APR_ENOLOCK   (APR_OS_START_ERROR + 9)
#define APR_ENOMEM   (APR_OS_START_CANONERR + 7)
#define APR_ENOPOLL   (APR_OS_START_ERROR + 10)
#define APR_ENOPOOL   (APR_OS_START_ERROR + 2)
#define APR_ENOPROC   (APR_OS_START_ERROR + 6)
#define APR_ENOSHMAVAIL   (APR_OS_START_ERROR + 15)
#define APR_ENOSOCKET   (APR_OS_START_ERROR + 11)
#define APR_ENOSPC   (APR_OS_START_CANONERR + 6)
#define APR_ENOSTAT   (APR_OS_START_ERROR + 1)
#define APR_ENOTDIR   (APR_OS_START_CANONERR + 5)
#define APR_ENOTEMPTY   (APR_OS_START_CANONERR + 26)
#define APR_ENOTENOUGHENTROPY   (APR_OS_START_ERROR + 28)
#define APR_ENOTHDKEY   (APR_OS_START_ERROR + 13)
#define APR_ENOTHREAD   (APR_OS_START_ERROR + 12)
#define APR_ENOTIME   (APR_OS_START_ERROR + 7)
#define APR_ENOTIMPL   (APR_OS_START_STATUS + 23)
#define APR_ENOTSOCK   (APR_OS_START_CANONERR + 15)
#define APR_EOF   (APR_OS_START_STATUS + 14)
#define APR_EOPNOTSUPP   (APR_OS_START_CANONERR + 28)
#define APR_EPATHWILD   (APR_OS_START_ERROR + 25)
#define APR_EPIPE   (APR_OS_START_CANONERR + 24)
#define APR_EPROC_UNKNOWN   (APR_OS_START_ERROR + 27)
#define APR_ERANGE   (APR_OS_START_CANONERR + 29)
#define APR_ERELATIVE   (APR_OS_START_ERROR + 21)
#define APR_ESPIPE   (APR_OS_START_CANONERR + 12)
#define APR_ESYMNOTFOUND   (APR_OS_START_ERROR + 26)
#define APR_ETIMEDOUT   (APR_OS_START_CANONERR + 20)
#define APR_EXDEV   (APR_OS_START_CANONERR + 25)
#define APR_FILEBASED   (APR_OS_START_STATUS + 20)
#define APR_INCHILD   (APR_OS_START_STATUS + 1)
#define APR_INCOMPLETE   (APR_OS_START_STATUS + 8)
#define APR_INPARENT   (APR_OS_START_STATUS + 2)
#define APR_KEYBASED   (APR_OS_START_STATUS + 21)
#define APR_NOTDETACH   (APR_OS_START_STATUS + 4)
#define APR_NOTFOUND   (APR_OS_START_STATUS + 15)
#define APR_TIMEUP   (APR_OS_START_STATUS + 7)