Apache Portable Runtime
Loading...
Searching...
No Matches

Macros

#define APR_STATUS_IS_ENOSTAT(s)
 
#define APR_STATUS_IS_ENOPOOL(s)
 
#define APR_STATUS_IS_EBADDATE(s)
 
#define APR_STATUS_IS_EINVALSOCK(s)
 
#define APR_STATUS_IS_ENOPROC(s)
 
#define APR_STATUS_IS_ENOTIME(s)
 
#define APR_STATUS_IS_ENODIR(s)
 
#define APR_STATUS_IS_ENOLOCK(s)
 
#define APR_STATUS_IS_ENOPOLL(s)
 
#define APR_STATUS_IS_ENOSOCKET(s)
 
#define APR_STATUS_IS_ENOTHREAD(s)
 
#define APR_STATUS_IS_ENOTHDKEY(s)
 
#define APR_STATUS_IS_EGENERAL(s)
 
#define APR_STATUS_IS_ENOSHMAVAIL(s)
 
#define APR_STATUS_IS_EBADIP(s)
 
#define APR_STATUS_IS_EBADMASK(s)
 
#define APR_STATUS_IS_EDSOOPEN(s)
 
#define APR_STATUS_IS_EABSOLUTE(s)
 
#define APR_STATUS_IS_ERELATIVE(s)
 
#define APR_STATUS_IS_EINCOMPLETE(s)
 
#define APR_STATUS_IS_EABOVEROOT(s)
 
#define APR_STATUS_IS_EBADPATH(s)
 
#define APR_STATUS_IS_EPATHWILD(s)
 
#define APR_STATUS_IS_ESYMNOTFOUND(s)
 
#define APR_STATUS_IS_EPROC_UNKNOWN(s)
 
#define APR_STATUS_IS_ENOTENOUGHENTROPY(s)
 
#define APR_STATUS_IS_INCHILD(s)
 
#define APR_STATUS_IS_INPARENT(s)
 
#define APR_STATUS_IS_DETACH(s)
 
#define APR_STATUS_IS_NOTDETACH(s)
 
#define APR_STATUS_IS_CHILD_DONE(s)
 
#define APR_STATUS_IS_CHILD_NOTDONE(s)
 
#define APR_STATUS_IS_TIMEUP(s)
 
#define APR_STATUS_IS_INCOMPLETE(s)
 
#define APR_STATUS_IS_BADCH(s)
 
#define APR_STATUS_IS_BADARG(s)
 
#define APR_STATUS_IS_EOF(s)
 
#define APR_STATUS_IS_NOTFOUND(s)
 
#define APR_STATUS_IS_ANONYMOUS(s)
 
#define APR_STATUS_IS_FILEBASED(s)
 
#define APR_STATUS_IS_KEYBASED(s)
 
#define APR_STATUS_IS_EINIT(s)
 
#define APR_STATUS_IS_ENOTIMPL(s)
 
#define APR_STATUS_IS_EMISMATCH(s)
 
#define APR_STATUS_IS_EBUSY(s)
 
#define APR_STATUS_IS_EACCES(s)
 
#define APR_STATUS_IS_EEXIST(s)
 
#define APR_STATUS_IS_ENAMETOOLONG(s)
 
#define APR_STATUS_IS_ENOENT(s)
 
#define APR_STATUS_IS_ENOTDIR(s)
 
#define APR_STATUS_IS_ENOSPC(s)
 
#define APR_STATUS_IS_ENOMEM(s)
 
#define APR_STATUS_IS_EMFILE(s)
 
#define APR_STATUS_IS_ENFILE(s)
 
#define APR_STATUS_IS_EBADF(s)
 
#define APR_STATUS_IS_EINVAL(s)
 
#define APR_STATUS_IS_ESPIPE(s)
 
#define APR_STATUS_IS_EAGAIN(s)
 
#define APR_STATUS_IS_EINTR(s)
 
#define APR_STATUS_IS_ENOTSOCK(s)
 
#define APR_STATUS_IS_ECONNREFUSED(s)
 
#define APR_STATUS_IS_EINPROGRESS(s)
 
#define APR_STATUS_IS_ECONNABORTED(s)
 
#define APR_STATUS_IS_ECONNRESET(s)
 
#define APR_STATUS_IS_ETIMEDOUT(s)
 
#define APR_STATUS_IS_EHOSTUNREACH(s)
 
#define APR_STATUS_IS_ENETUNREACH(s)
 
#define APR_STATUS_IS_EFTYPE(s)
 
#define APR_STATUS_IS_EPIPE(s)
 
#define APR_STATUS_IS_EXDEV(s)
 
#define APR_STATUS_IS_ENOTEMPTY(s)
 
#define APR_STATUS_IS_EAFNOSUPPORT(s)
 
#define APR_STATUS_IS_EOPNOTSUPP(s)
 
#define APR_STATUS_IS_ERANGE(s)
 

Detailed Description

Warning
For any particular error condition, more than one of these tests may match. This is because platform-specific error codes may not always match the semantics of the POSIX codes these tests (and the corresponding APR error codes) are named after. A notable example are the APR_STATUS_IS_ENOENT and APR_STATUS_IS_ENOTDIR tests on Win32 platforms. The programmer should always be aware of this and adjust the order of the tests accordingly.

Macro Definition Documentation

◆ APR_STATUS_IS_ANONYMOUS

#define APR_STATUS_IS_ANONYMOUS ( s)
Value:
((s) == APR_ANONYMOUS)
#define APR_ANONYMOUS
Definition apr_errno.h:468

APR is using anonymous shared memory

Warning
always use this test, as platform-specific variances may meet this more than one error code

◆ APR_STATUS_IS_BADARG

#define APR_STATUS_IS_BADARG ( s)
Value:
((s) == APR_BADARG)
#define APR_BADARG
Definition apr_errno.h:459

Getopt found an option not in the option string and an argument was specified in the option string

Warning
always use this test, as platform-specific variances may meet this more than one error code

◆ APR_STATUS_IS_BADCH

#define APR_STATUS_IS_BADCH ( s)
Value:
((s) == APR_BADCH)
#define APR_BADCH
Definition apr_errno.h:457

Getopt found an option not in the option string

Warning
always use this test, as platform-specific variances may meet this more than one error code

◆ APR_STATUS_IS_CHILD_DONE

#define APR_STATUS_IS_CHILD_DONE ( s)
Value:
#define APR_CHILD_DONE
Definition apr_errno.h:446

The child has finished executing

Warning
always use this test, as platform-specific variances may meet this more than one error code

◆ APR_STATUS_IS_CHILD_NOTDONE

#define APR_STATUS_IS_CHILD_NOTDONE ( s)
Value:
#define APR_CHILD_NOTDONE
Definition apr_errno.h:448

The child has not finished executing

Warning
always use this test, as platform-specific variances may meet this more than one error code

◆ APR_STATUS_IS_DETACH

#define APR_STATUS_IS_DETACH ( s)
Value:
((s) == APR_DETACH)
#define APR_DETACH
Definition apr_errno.h:442

The thread is detached

Warning
always use this test, as platform-specific variances may meet this more than one error code

◆ APR_STATUS_IS_EABOVEROOT

#define APR_STATUS_IS_EABOVEROOT ( s)
Value:
#define APR_EABOVEROOT
Definition apr_errno.h:330

The given path was above the root path.

◆ APR_STATUS_IS_EABSOLUTE

#define APR_STATUS_IS_EABSOLUTE ( s)
Value:
((s) == APR_EABSOLUTE)
#define APR_EABSOLUTE
Definition apr_errno.h:324

The given path was absolute.

◆ APR_STATUS_IS_EACCES

#define APR_STATUS_IS_EACCES ( s)
Value:
((s) == APR_EACCES)
#define APR_EACCES
Definition apr_errno.h:641

permission denied

◆ APR_STATUS_IS_EAFNOSUPPORT

#define APR_STATUS_IS_EAFNOSUPPORT ( s)
Value:
#define APR_EAFNOSUPPORT
Definition apr_errno.h:833

Address Family not supported

◆ APR_STATUS_IS_EAGAIN

#define APR_STATUS_IS_EAGAIN ( s)
Value:
((s) == APR_EAGAIN)
#define APR_EAGAIN
Definition apr_errno.h:730

operation would block

◆ APR_STATUS_IS_EBADDATE

#define APR_STATUS_IS_EBADDATE ( s)
Value:
((s) == APR_EBADDATE)
#define APR_EBADDATE
Definition apr_errno.h:293

APR was given an invalid date

◆ APR_STATUS_IS_EBADF

#define APR_STATUS_IS_EBADF ( s)
Value:
((s) == APR_EBADF)
#define APR_EBADF
Definition apr_errno.h:704

bad file #

◆ APR_STATUS_IS_EBADIP

#define APR_STATUS_IS_EBADIP ( s)
Value:
((s) == APR_EBADIP)
#define APR_EBADIP
Definition apr_errno.h:317

The specified IP address is invalid

◆ APR_STATUS_IS_EBADMASK

#define APR_STATUS_IS_EBADMASK ( s)
Value:
((s) == APR_EBADMASK)
#define APR_EBADMASK
Definition apr_errno.h:319

The specified netmask is invalid

◆ APR_STATUS_IS_EBADPATH

#define APR_STATUS_IS_EBADPATH ( s)
Value:
((s) == APR_EBADPATH)
#define APR_EBADPATH
Definition apr_errno.h:332

The given path was bad.

◆ APR_STATUS_IS_EBUSY

#define APR_STATUS_IS_EBUSY ( s)
Value:
((s) == APR_EBUSY)
#define APR_EBUSY
Definition apr_errno.h:480

The given lock was busy

Warning
always use this test, as platform-specific variances may meet this more than one error code

◆ APR_STATUS_IS_ECONNABORTED

#define APR_STATUS_IS_ECONNABORTED ( s)
Value:
#define APR_ECONNABORTED
Definition apr_errno.h:769

Software caused connection abort

Remarks
EPROTO on certain older kernels really means ECONNABORTED, so we need to ignore it for them. See discussion in new-httpd archives nh.9701 & nh.9603

There is potentially a bug in Solaris 2.x x<6, and other boxes that implement tcp sockets in userland (i.e. on top of STREAMS). On these systems, EPROTO can actually result in a fatal loop. See PR#981 for example. It's hard to handle both uses of EPROTO.

◆ APR_STATUS_IS_ECONNREFUSED

#define APR_STATUS_IS_ECONNREFUSED ( s)
Value:
#define APR_ECONNREFUSED
Definition apr_errno.h:751

Connection Refused

◆ APR_STATUS_IS_ECONNRESET

#define APR_STATUS_IS_ECONNRESET ( s)
Value:
#define APR_ECONNRESET
Definition apr_errno.h:776

Connection Reset by peer

◆ APR_STATUS_IS_EDSOOPEN

#define APR_STATUS_IS_EDSOOPEN ( s)
Value:
((s) == APR_EDSOOPEN)
#define APR_EDSOOPEN
Definition apr_errno.h:322

APR was unable to open the dso object. For more information call apr_dso_error().

◆ APR_STATUS_IS_EEXIST

#define APR_STATUS_IS_EEXIST ( s)
Value:
((s) == APR_EEXIST)
#define APR_EEXIST
Definition apr_errno.h:648

file exists

◆ APR_STATUS_IS_EFTYPE

#define APR_STATUS_IS_EFTYPE ( s)
Value:
((s) == APR_EFTYPE)
#define APR_EFTYPE
Definition apr_errno.h:805

inappropriate file type or format

◆ APR_STATUS_IS_EGENERAL

#define APR_STATUS_IS_EGENERAL ( s)
Value:
((s) == APR_EGENERAL)
#define APR_EGENERAL
Definition apr_errno.h:313

Generic Error which can not be put into another spot

◆ APR_STATUS_IS_EHOSTUNREACH

#define APR_STATUS_IS_EHOSTUNREACH ( s)
Value:
#define APR_EHOSTUNREACH
Definition apr_errno.h:791

no route to host

◆ APR_STATUS_IS_EINCOMPLETE

#define APR_STATUS_IS_EINCOMPLETE ( s)
Value:
#define APR_EINCOMPLETE
Definition apr_errno.h:328

The given path was neither relative nor absolute.

◆ APR_STATUS_IS_EINIT

#define APR_STATUS_IS_EINIT ( s)
Value:
((s) == APR_EINIT)
#define APR_EINIT
Definition apr_errno.h:474

Ininitalizer value. If no option has been found, but the status variable requires a value, this should be used

Warning
always use this test, as platform-specific variances may meet this more than one error code

◆ APR_STATUS_IS_EINPROGRESS

#define APR_STATUS_IS_EINPROGRESS ( s)
Value:
#define APR_EINPROGRESS
Definition apr_errno.h:758

operation now in progress

◆ APR_STATUS_IS_EINTR

#define APR_STATUS_IS_EINTR ( s)
Value:
((s) == APR_EINTR)
#define APR_EINTR
Definition apr_errno.h:737

interrupted system call

◆ APR_STATUS_IS_EINVAL

#define APR_STATUS_IS_EINVAL ( s)
Value:
((s) == APR_EINVAL)
#define APR_EINVAL
Definition apr_errno.h:711

invalid argument

◆ APR_STATUS_IS_EINVALSOCK

#define APR_STATUS_IS_EINVALSOCK ( s)
Value:
#define APR_EINVALSOCK
Definition apr_errno.h:295

APR was given an invalid socket

◆ APR_STATUS_IS_EMFILE

#define APR_STATUS_IS_EMFILE ( s)
Value:
((s) == APR_EMFILE)
#define APR_EMFILE
Definition apr_errno.h:690

too many open files

◆ APR_STATUS_IS_EMISMATCH

#define APR_STATUS_IS_EMISMATCH ( s)
Value:
((s) == APR_EMISMATCH)
#define APR_EMISMATCH
Definition apr_errno.h:478

Two passwords do not match.

Warning
always use this test, as platform-specific variances may meet this more than one error code

◆ APR_STATUS_IS_ENAMETOOLONG

#define APR_STATUS_IS_ENAMETOOLONG ( s)
Value:
#define APR_ENAMETOOLONG
Definition apr_errno.h:655

path name is too long

◆ APR_STATUS_IS_ENETUNREACH

#define APR_STATUS_IS_ENETUNREACH ( s)
Value:
#define APR_ENETUNREACH
Definition apr_errno.h:798

network is unreachable

◆ APR_STATUS_IS_ENFILE

#define APR_STATUS_IS_ENFILE ( s)
Value:
((s) == APR_ENFILE)
#define APR_ENFILE
Definition apr_errno.h:697

file table overflow

◆ APR_STATUS_IS_ENODIR

#define APR_STATUS_IS_ENODIR ( s)
Value:
((s) == APR_ENODIR)
#define APR_ENODIR
Definition apr_errno.h:301

APR was not given a directory structure

◆ APR_STATUS_IS_ENOENT

#define APR_STATUS_IS_ENOENT ( s)
Value:
((s) == APR_ENOENT)
#define APR_ENOENT
Definition apr_errno.h:662

no such file or directory

Remarks
EMVSCATLG can be returned by the automounter on z/OS for paths which do not exist.

◆ APR_STATUS_IS_ENOLOCK

#define APR_STATUS_IS_ENOLOCK ( s)
Value:
((s) == APR_ENOLOCK)
#define APR_ENOLOCK
Definition apr_errno.h:303

APR was not given a lock structure

◆ APR_STATUS_IS_ENOMEM

#define APR_STATUS_IS_ENOMEM ( s)
Value:
((s) == APR_ENOMEM)
#define APR_ENOMEM
Definition apr_errno.h:683

not enough memory

◆ APR_STATUS_IS_ENOPOLL

#define APR_STATUS_IS_ENOPOLL ( s)
Value:
((s) == APR_ENOPOLL)
#define APR_ENOPOLL
Definition apr_errno.h:305

APR was not given a poll structure

◆ APR_STATUS_IS_ENOPOOL

#define APR_STATUS_IS_ENOPOOL ( s)
Value:
((s) == APR_ENOPOOL)
#define APR_ENOPOOL
Definition apr_errno.h:290

APR was not provided a pool with which to allocate memory

Warning
always use this test, as platform-specific variances may meet this more than one error code

◆ APR_STATUS_IS_ENOPROC

#define APR_STATUS_IS_ENOPROC ( s)
Value:
((s) == APR_ENOPROC)
#define APR_ENOPROC
Definition apr_errno.h:297

APR was not given a process structure

◆ APR_STATUS_IS_ENOSHMAVAIL

#define APR_STATUS_IS_ENOSHMAVAIL ( s)
Value:
#define APR_ENOSHMAVAIL
Definition apr_errno.h:315

There is no more shared memory available

◆ APR_STATUS_IS_ENOSOCKET

#define APR_STATUS_IS_ENOSOCKET ( s)
Value:
((s) == APR_ENOSOCKET)
#define APR_ENOSOCKET
Definition apr_errno.h:307

APR was not given a socket

◆ APR_STATUS_IS_ENOSPC

#define APR_STATUS_IS_ENOSPC ( s)
Value:
((s) == APR_ENOSPC)
#define APR_ENOSPC
Definition apr_errno.h:676

no space left on device

◆ APR_STATUS_IS_ENOSTAT

#define APR_STATUS_IS_ENOSTAT ( s)
Value:
((s) == APR_ENOSTAT)
#define APR_ENOSTAT
Definition apr_errno.h:288

APR was unable to perform a stat on the file

Warning
always use this test, as platform-specific variances may meet this more than one error code

◆ APR_STATUS_IS_ENOTDIR

#define APR_STATUS_IS_ENOTDIR ( s)
Value:
((s) == APR_ENOTDIR)
#define APR_ENOTDIR
Definition apr_errno.h:669

not a directory

◆ APR_STATUS_IS_ENOTEMPTY

#define APR_STATUS_IS_ENOTEMPTY ( s)
Value:
((s) == APR_ENOTEMPTY || \
(s) == APR_EEXIST)
#define APR_ENOTEMPTY
Definition apr_errno.h:826

Directory Not Empty

◆ APR_STATUS_IS_ENOTENOUGHENTROPY

#define APR_STATUS_IS_ENOTENOUGHENTROPY ( s)
Value:
#define APR_ENOTENOUGHENTROPY
Definition apr_errno.h:340

APR could not gather enough entropy to continue.

◆ APR_STATUS_IS_ENOTHDKEY

#define APR_STATUS_IS_ENOTHDKEY ( s)
Value:
((s) == APR_ENOTHDKEY)
#define APR_ENOTHDKEY
Definition apr_errno.h:311

APR was not given a thread key structure

◆ APR_STATUS_IS_ENOTHREAD

#define APR_STATUS_IS_ENOTHREAD ( s)
Value:
((s) == APR_ENOTHREAD)
#define APR_ENOTHREAD
Definition apr_errno.h:309

APR was not given a thread structure

◆ APR_STATUS_IS_ENOTIME

#define APR_STATUS_IS_ENOTIME ( s)
Value:
((s) == APR_ENOTIME)
#define APR_ENOTIME
Definition apr_errno.h:299

APR was not given a time structure

◆ APR_STATUS_IS_ENOTIMPL

#define APR_STATUS_IS_ENOTIMPL ( s)
Value:
((s) == APR_ENOTIMPL)
#define APR_ENOTIMPL
Definition apr_errno.h:476

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.

Warning
always use this test, as platform-specific variances may meet this more than one error code

◆ APR_STATUS_IS_ENOTSOCK

#define APR_STATUS_IS_ENOTSOCK ( s)
Value:
((s) == APR_ENOTSOCK)
#define APR_ENOTSOCK
Definition apr_errno.h:744

socket operation on a non-socket

◆ APR_STATUS_IS_EOF

#define APR_STATUS_IS_EOF ( s)
Value:
((s) == APR_EOF)
#define APR_EOF
Definition apr_errno.h:461

APR has encountered the end of the file

Warning
always use this test, as platform-specific variances may meet this more than one error code

◆ APR_STATUS_IS_EOPNOTSUPP

#define APR_STATUS_IS_EOPNOTSUPP ( s)
Value:
#define APR_EOPNOTSUPP
Definition apr_errno.h:840

Socket operation not supported

◆ APR_STATUS_IS_EPATHWILD

#define APR_STATUS_IS_EPATHWILD ( s)
Value:
((s) == APR_EPATHWILD)
#define APR_EPATHWILD
Definition apr_errno.h:334

The given path contained wildcards.

◆ APR_STATUS_IS_EPIPE

#define APR_STATUS_IS_EPIPE ( s)
Value:
((s) == APR_EPIPE)
#define APR_EPIPE
Definition apr_errno.h:812

broken pipe

◆ APR_STATUS_IS_EPROC_UNKNOWN

#define APR_STATUS_IS_EPROC_UNKNOWN ( s)
Value:
#define APR_EPROC_UNKNOWN
Definition apr_errno.h:338

The given process was not recognized by APR.

◆ APR_STATUS_IS_ERANGE

#define APR_STATUS_IS_ERANGE ( s)
Value:
((s) == APR_ERANGE)
#define APR_ERANGE
Definition apr_errno.h:847

Numeric value not representable

◆ APR_STATUS_IS_ERELATIVE

#define APR_STATUS_IS_ERELATIVE ( s)
Value:
((s) == APR_ERELATIVE)
#define APR_ERELATIVE
Definition apr_errno.h:326

The given path was relative.

◆ APR_STATUS_IS_ESPIPE

#define APR_STATUS_IS_ESPIPE ( s)
Value:
((s) == APR_ESPIPE)
#define APR_ESPIPE
Definition apr_errno.h:718

illegal seek

◆ APR_STATUS_IS_ESYMNOTFOUND

#define APR_STATUS_IS_ESYMNOTFOUND ( s)
Value:
#define APR_ESYMNOTFOUND
Definition apr_errno.h:336

Could not find the requested symbol. For more information call apr_dso_error().

◆ APR_STATUS_IS_ETIMEDOUT

#define APR_STATUS_IS_ETIMEDOUT ( s)
Value:
((s) == APR_ETIMEDOUT)
#define APR_ETIMEDOUT
Definition apr_errno.h:784

Operation timed out

Deprecated

◆ APR_STATUS_IS_EXDEV

#define APR_STATUS_IS_EXDEV ( s)
Value:
((s) == APR_EXDEV)
#define APR_EXDEV
Definition apr_errno.h:819

cross device link

◆ APR_STATUS_IS_FILEBASED

#define APR_STATUS_IS_FILEBASED ( s)
Value:
((s) == APR_FILEBASED)
#define APR_FILEBASED
Definition apr_errno.h:470

APR is using a file name as the key to the shared memory

Warning
always use this test, as platform-specific variances may meet this more than one error code

◆ APR_STATUS_IS_INCHILD

#define APR_STATUS_IS_INCHILD ( s)
Value:
((s) == APR_INCHILD)
#define APR_INCHILD
Definition apr_errno.h:438

Program is currently executing in the child

Warning
always use this test, as platform-specific variances may meet this more than one error code

◆ APR_STATUS_IS_INCOMPLETE

#define APR_STATUS_IS_INCOMPLETE ( s)
Value:
#define APR_INCOMPLETE
Definition apr_errno.h:452

The operation was incomplete although some processing was performed and the results are partially valid.

Warning
always use this test, as platform-specific variances may meet this more than one error code

◆ APR_STATUS_IS_INPARENT

#define APR_STATUS_IS_INPARENT ( s)
Value:
((s) == APR_INPARENT)
#define APR_INPARENT
Definition apr_errno.h:440

Program is currently executing in the parent

Warning
always use this test, as platform-specific variances may meet this more than one error code

◆ APR_STATUS_IS_KEYBASED

#define APR_STATUS_IS_KEYBASED ( s)
Value:
((s) == APR_KEYBASED)
#define APR_KEYBASED
Definition apr_errno.h:472

APR is using a shared key as the key to the shared memory

Warning
always use this test, as platform-specific variances may meet this more than one error code

◆ APR_STATUS_IS_NOTDETACH

#define APR_STATUS_IS_NOTDETACH ( s)
Value:
((s) == APR_NOTDETACH)
#define APR_NOTDETACH
Definition apr_errno.h:444

The thread is not detached

Warning
always use this test, as platform-specific variances may meet this more than one error code

◆ APR_STATUS_IS_NOTFOUND

#define APR_STATUS_IS_NOTFOUND ( s)
Value:
((s) == APR_NOTFOUND)
#define APR_NOTFOUND
Definition apr_errno.h:463

APR was unable to find the socket in the poll structure

Warning
always use this test, as platform-specific variances may meet this more than one error code

◆ APR_STATUS_IS_TIMEUP

#define APR_STATUS_IS_TIMEUP ( s)
Value:
((s) == APR_TIMEUP)
#define APR_TIMEUP
Definition apr_errno.h:450

The operation did not finish before the timeout

Warning
always use this test, as platform-specific variances may meet this more than one error code