📄 apr_errno.h
字号:
#define APR_EABOVEROOT (APR_OS_START_ERROR + 23)/* APR ERROR VALUE TESTS */#define APR_STATUS_IS_ENOSTAT(s) ((s) == APR_ENOSTAT)#define APR_STATUS_IS_ENOPOOL(s) ((s) == APR_ENOPOOL)#define APR_STATUS_IS_ENOFILE(s) ((s) == APR_ENOFILE)#define APR_STATUS_IS_EBADDATE(s) ((s) == APR_EBADDATE)#define APR_STATUS_IS_EINVALSOCK(s) ((s) == APR_EINVALSOCK)#define APR_STATUS_IS_ENOPROC(s) ((s) == APR_ENOPROC)#define APR_STATUS_IS_ENOTIME(s) ((s) == APR_ENOTIME)#define APR_STATUS_IS_ENODIR(s) ((s) == APR_ENODIR)#define APR_STATUS_IS_ENOLOCK(s) ((s) == APR_ENOLOCK)#define APR_STATUS_IS_ENOPOLL(s) ((s) == APR_ENOPOLL)#define APR_STATUS_IS_ENOSOCKET(s) ((s) == APR_ENOSOCKET)#define APR_STATUS_IS_ENOTHREAD(s) ((s) == APR_ENOTHREAD)#define APR_STATUS_IS_ENOTHDKEY(s) ((s) == APR_ENOTHDKEY)#define APR_STATUS_IS_EGENERAL(s) ((s) == APR_EGENERAL)#define APR_STATUS_IS_ENOSHMAVAIL(s) ((s) == APR_ENOSHMAVAIL)#define APR_STATUS_IS_EBADIP(s) ((s) == APR_EBADIP)#define APR_STATUS_IS_EBADMASK(s) ((s) == APR_EBADMASK)/* empty slot: +18 */#define APR_STATUS_IS_EDSOOPEN(s) ((s) == APR_EDSOOPEN)#define APR_STATUS_IS_EABSOLUTE(s) ((s) == APR_EABSOLUTE)#define APR_STATUS_IS_ERELATIVE(s) ((s) == APR_ERELATIVE)#define APR_STATUS_IS_EINCOMPLETE(s) ((s) == APR_EINCOMPLETE)#define APR_STATUS_IS_EABOVEROOT(s) ((s) == APR_EABOVEROOT)/* APR STATUS VALUES */#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)/* empty slot: +9 *//* empty slot: +10 *//* empty slot: +11 */#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)/* empty slot: +16 *//* empty slot: +17 *//* empty slot: +18 */#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)/* APR STATUS VALUE TESTS */#define APR_STATUS_IS_INCHILD(s) ((s) == APR_INCHILD)#define APR_STATUS_IS_INPARENT(s) ((s) == APR_INPARENT)#define APR_STATUS_IS_DETACH(s) ((s) == APR_DETACH)#define APR_STATUS_IS_NOTDETACH(s) ((s) == APR_NOTDETACH)#define APR_STATUS_IS_CHILD_DONE(s) ((s) == APR_CHILD_DONE)#define APR_STATUS_IS_CHILD_NOTDONE(s) ((s) == APR_CHILD_NOTDONE)#define APR_STATUS_IS_TIMEUP(s) ((s) == APR_TIMEUP)#define APR_STATUS_IS_INCOMPLETE(s) ((s) == APR_INCOMPLETE)/* empty slot: +9 *//* empty slot: +10 *//* empty slot: +11 */#define APR_STATUS_IS_BADCH(s) ((s) == APR_BADCH)#define APR_STATUS_IS_BADARG(s) ((s) == APR_BADARG)#define APR_STATUS_IS_EOF(s) ((s) == APR_EOF)#define APR_STATUS_IS_NOTFOUND(s) ((s) == APR_NOTFOUND)/* empty slot: +16 *//* empty slot: +17 *//* empty slot: +18 */#define APR_STATUS_IS_ANONYMOUS(s) ((s) == APR_ANONYMOUS)#define APR_STATUS_IS_FILEBASED(s) ((s) == APR_FILEBASED)#define APR_STATUS_IS_KEYBASED(s) ((s) == APR_KEYBASED)#define APR_STATUS_IS_EINIT(s) ((s) == APR_EINIT)#define APR_STATUS_IS_ENOTIMPL(s) ((s) == APR_ENOTIMPL)#define APR_STATUS_IS_EMISMATCH(s) ((s) == APR_EMISMATCH)/* APR CANONICAL ERROR VALUES */#ifdef EACCES#define APR_EACCES EACCES#else#define APR_EACCES (APR_OS_START_CANONERR + 1)#endif#ifdef EEXIST#define APR_EEXIST EEXIST#else#define APR_EEXIST (APR_OS_START_CANONERR + 2)#endif#ifdef ENAMETOOLONG#define APR_ENAMETOOLONG ENAMETOOLONG#else#define APR_ENAMETOOLONG (APR_OS_START_CANONERR + 3)#endif#ifdef ENOENT#define APR_ENOENT ENOENT#else#define APR_ENOENT (APR_OS_START_CANONERR + 4)#endif#ifdef ENOTDIR#define APR_ENOTDIR ENOTDIR#else#define APR_ENOTDIR (APR_OS_START_CANONERR + 5)#endif#ifdef ENOSPC#define APR_ENOSPC ENOSPC#else#define APR_ENOSPC (APR_OS_START_CANONERR + 6)#endif#ifdef ENOMEM#define APR_ENOMEM ENOMEM#else#define APR_ENOMEM (APR_OS_START_CANONERR + 7)#endif#ifdef EMFILE#define APR_EMFILE EMFILE#else#define APR_EMFILE (APR_OS_START_CANONERR + 8)#endif#ifdef ENFILE#define APR_ENFILE ENFILE#else#define APR_ENFILE (APR_OS_START_CANONERR + 9)#endif#ifdef EBADF#define APR_EBADF EBADF#else#define APR_EBADF (APR_OS_START_CANONERR + 10)#endif#ifdef EINVAL#define APR_EINVAL EINVAL#else#define APR_EINVAL (APR_OS_START_CANONERR + 11)#endif#ifdef ESPIPE#define APR_ESPIPE ESPIPE#else#define APR_ESPIPE (APR_OS_START_CANONERR + 12)#endif#ifdef EAGAIN#define APR_EAGAIN EAGAIN#elif defined(EWOULDBLOCK)#define APR_EAGAIN EWOULDBLOCK#else#define APR_EAGAIN (APR_OS_START_CANONERR + 13)#endif#ifdef EINTR#define APR_EINTR EINTR#else#define APR_EINTR (APR_OS_START_CANONERR + 14)#endif#ifdef ENOTSOCK#define APR_ENOTSOCK ENOTSOCK#else#define APR_ENOTSOCK (APR_OS_START_CANONERR + 15)#endif#ifdef ECONNREFUSED#define APR_ECONNREFUSED ECONNREFUSED#else#define APR_ECONNREFUSED (APR_OS_START_CANONERR + 16)#endif#ifdef EINPROGRESS#define APR_EINPROGRESS EINPROGRESS#else#define APR_EINPROGRESS (APR_OS_START_CANONERR + 17)#endif#ifdef ECONNABORTED#define APR_ECONNABORTED ECONNABORTED#else#define APR_ECONNABORTED (APR_OS_START_CANONERR + 18)#endif#ifdef ECONNRESET#define APR_ECONNRESET ECONNRESET#else#define APR_ECONNRESET (APR_OS_START_CANONERR + 19)#endif#ifdef ETIMEDOUT#define APR_ETIMEDOUT ETIMEDOUT#else#define APR_ETIMEDOUT (APR_OS_START_CANONERR + 20)#endif#ifdef EHOSTUNREACH#define APR_EHOSTUNREACH EHOSTUNREACH#else#define APR_EHOSTUNREACH (APR_OS_START_CANONERR + 21)#endif#ifdef ENETUNREACH#define APR_ENETUNREACH ENETUNREACH#else#define APR_ENETUNREACH (APR_OS_START_CANONERR + 22)#endif#if defined(OS2)#define APR_FROM_OS_ERROR(e) (e == 0 ? APR_SUCCESS : e + APR_OS_START_SYSERR)#define APR_TO_OS_ERROR(e) (e == 0 ? APR_SUCCESS : e - APR_OS_START_SYSERR)#define INCL_DOSERRORS#define INCL_DOS/* And this needs to be greped away for good: */#define APR_OS2_STATUS(e) (APR_FROM_OS_ERROR(e))#define APR_STATUS_IS_SUCCESS(s) ((s) == APR_SUCCESS \ || (s) == APR_OS_START_SYSERR + NO_ERROR)/* These can't sit in a private header, so in spite of the extra size, * they need to be made available here. */#define SOCBASEERR 10000#define SOCEPERM (SOCBASEERR+1) /* Not owner */#define SOCESRCH (SOCBASEERR+3) /* No such process */#define SOCEINTR (SOCBASEERR+4) /* Interrupted system call */#define SOCENXIO (SOCBASEERR+6) /* No such device or address */#define SOCEBADF (SOCBASEERR+9) /* Bad file number */#define SOCEACCES (SOCBASEERR+13) /* Permission denied */#define SOCEFAULT (SOCBASEERR+14) /* Bad address */#define SOCEINVAL (SOCBASEERR+22) /* Invalid argument */#define SOCEMFILE (SOCBASEERR+24) /* Too many open files */#define SOCEPIPE (SOCBASEERR+32) /* Broken pipe */#define SOCEOS2ERR (SOCBASEERR+100) /* OS/2 Error */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -