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

◆ APR_ANONYMOUS

#define APR_ANONYMOUS   (APR_OS_START_STATUS + 19)

◆ APR_BADARG

#define APR_BADARG   (APR_OS_START_STATUS + 13)

◆ APR_BADCH

#define APR_BADCH   (APR_OS_START_STATUS + 12)

◆ APR_CHILD_DONE

#define APR_CHILD_DONE   (APR_OS_START_STATUS + 5)

◆ APR_CHILD_NOTDONE

#define APR_CHILD_NOTDONE   (APR_OS_START_STATUS + 6)

◆ APR_DETACH

#define APR_DETACH   (APR_OS_START_STATUS + 3)

◆ APR_EABOVEROOT

#define APR_EABOVEROOT   (APR_OS_START_ERROR + 23)

◆ APR_EABSOLUTE

#define APR_EABSOLUTE   (APR_OS_START_ERROR + 20)

◆ APR_EACCES

#define APR_EACCES   (APR_OS_START_CANONERR + 1)

◆ APR_EAFNOSUPPORT

#define APR_EAFNOSUPPORT   (APR_OS_START_CANONERR + 27)

◆ APR_EAGAIN

#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

◆ APR_EBADDATE

#define APR_EBADDATE   (APR_OS_START_ERROR + 4)

◆ APR_EBADF

#define APR_EBADF   (APR_OS_START_CANONERR + 10)

◆ APR_EBADIP

#define APR_EBADIP   (APR_OS_START_ERROR + 16)

◆ APR_EBADMASK

#define APR_EBADMASK   (APR_OS_START_ERROR + 17)

◆ APR_EBADPATH

#define APR_EBADPATH   (APR_OS_START_ERROR + 24)

◆ APR_EBUSY

#define APR_EBUSY   (APR_OS_START_STATUS + 25)

◆ APR_ECONNABORTED

#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

◆ APR_ECONNREFUSED

#define APR_ECONNREFUSED   (APR_OS_START_CANONERR + 16)

◆ APR_ECONNRESET

#define APR_ECONNRESET   (APR_OS_START_CANONERR + 19)

◆ APR_EDSOOPEN

#define APR_EDSOOPEN   (APR_OS_START_ERROR + 19)
See also
APR_STATUS_IS_EDSOPEN

◆ APR_EEXIST

#define APR_EEXIST   (APR_OS_START_CANONERR + 2)

◆ APR_EFTYPE

#define APR_EFTYPE   (APR_OS_START_CANONERR + 23)

◆ APR_EGENERAL

#define APR_EGENERAL   (APR_OS_START_ERROR + 14)

◆ APR_EHOSTUNREACH

#define APR_EHOSTUNREACH   (APR_OS_START_CANONERR + 21)

◆ APR_EINCOMPLETE

#define APR_EINCOMPLETE   (APR_OS_START_ERROR + 22)

◆ APR_EINIT

#define APR_EINIT   (APR_OS_START_STATUS + 22)

◆ APR_EINPROGRESS

#define APR_EINPROGRESS   (APR_OS_START_CANONERR + 17)

◆ APR_EINTR

#define APR_EINTR   (APR_OS_START_CANONERR + 14)

◆ APR_EINVAL

#define APR_EINVAL   (APR_OS_START_CANONERR + 11)

◆ APR_EINVALSOCK

#define APR_EINVALSOCK   (APR_OS_START_ERROR + 5)

◆ APR_EMFILE

#define APR_EMFILE   (APR_OS_START_CANONERR + 8)

◆ APR_EMISMATCH

#define APR_EMISMATCH   (APR_OS_START_STATUS + 24)

◆ APR_ENAMETOOLONG

#define APR_ENAMETOOLONG   (APR_OS_START_CANONERR + 3)

◆ APR_ENETUNREACH

#define APR_ENETUNREACH   (APR_OS_START_CANONERR + 22)

◆ APR_ENFILE

#define APR_ENFILE   (APR_OS_START_CANONERR + 9)

◆ APR_ENODIR

#define APR_ENODIR   (APR_OS_START_ERROR + 8)

◆ APR_ENOENT

#define APR_ENOENT   (APR_OS_START_CANONERR + 4)

◆ APR_ENOLOCK

#define APR_ENOLOCK   (APR_OS_START_ERROR + 9)

◆ APR_ENOMEM

#define APR_ENOMEM   (APR_OS_START_CANONERR + 7)

◆ APR_ENOPOLL

#define APR_ENOPOLL   (APR_OS_START_ERROR + 10)

◆ APR_ENOPOOL

#define APR_ENOPOOL   (APR_OS_START_ERROR + 2)

◆ APR_ENOPROC

#define APR_ENOPROC   (APR_OS_START_ERROR + 6)

◆ APR_ENOSHMAVAIL

#define APR_ENOSHMAVAIL   (APR_OS_START_ERROR + 15)

◆ APR_ENOSOCKET

#define APR_ENOSOCKET   (APR_OS_START_ERROR + 11)

◆ APR_ENOSPC

#define APR_ENOSPC   (APR_OS_START_CANONERR + 6)

◆ APR_ENOSTAT

#define APR_ENOSTAT   (APR_OS_START_ERROR + 1)

◆ APR_ENOTDIR

#define APR_ENOTDIR   (APR_OS_START_CANONERR + 5)

◆ APR_ENOTEMPTY

#define APR_ENOTEMPTY   (APR_OS_START_CANONERR + 26)

◆ APR_ENOTENOUGHENTROPY

#define APR_ENOTENOUGHENTROPY   (APR_OS_START_ERROR + 28)

◆ APR_ENOTHDKEY

#define APR_ENOTHDKEY   (APR_OS_START_ERROR + 13)

◆ APR_ENOTHREAD

#define APR_ENOTHREAD   (APR_OS_START_ERROR + 12)

◆ APR_ENOTIME

#define APR_ENOTIME   (APR_OS_START_ERROR + 7)

◆ APR_ENOTIMPL

#define APR_ENOTIMPL   (APR_OS_START_STATUS + 23)

◆ APR_ENOTSOCK

#define APR_ENOTSOCK   (APR_OS_START_CANONERR + 15)

◆ APR_EOF

#define APR_EOF   (APR_OS_START_STATUS + 14)

◆ APR_EOPNOTSUPP

#define APR_EOPNOTSUPP   (APR_OS_START_CANONERR + 28)

◆ APR_EPATHWILD

#define APR_EPATHWILD   (APR_OS_START_ERROR + 25)

◆ APR_EPIPE

#define APR_EPIPE   (APR_OS_START_CANONERR + 24)

◆ APR_EPROC_UNKNOWN

#define APR_EPROC_UNKNOWN   (APR_OS_START_ERROR + 27)

◆ APR_ERANGE

#define APR_ERANGE   (APR_OS_START_CANONERR + 29)

◆ APR_ERELATIVE

#define APR_ERELATIVE   (APR_OS_START_ERROR + 21)

◆ APR_ESPIPE

#define APR_ESPIPE   (APR_OS_START_CANONERR + 12)

◆ APR_ESYMNOTFOUND

#define APR_ESYMNOTFOUND   (APR_OS_START_ERROR + 26)

◆ APR_ETIMEDOUT

#define APR_ETIMEDOUT   (APR_OS_START_CANONERR + 20)

◆ APR_EXDEV

#define APR_EXDEV   (APR_OS_START_CANONERR + 25)

◆ APR_FILEBASED

#define APR_FILEBASED   (APR_OS_START_STATUS + 20)

◆ APR_INCHILD

#define APR_INCHILD   (APR_OS_START_STATUS + 1)

◆ APR_INCOMPLETE

#define APR_INCOMPLETE   (APR_OS_START_STATUS + 8)

◆ APR_INPARENT

#define APR_INPARENT   (APR_OS_START_STATUS + 2)

◆ APR_KEYBASED

#define APR_KEYBASED   (APR_OS_START_STATUS + 21)

◆ APR_NOTDETACH

#define APR_NOTDETACH   (APR_OS_START_STATUS + 4)

◆ APR_NOTFOUND

#define APR_NOTFOUND   (APR_OS_START_STATUS + 15)

◆ APR_TIMEUP

#define APR_TIMEUP   (APR_OS_START_STATUS + 7)