X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FLibraries%2Flibc.so_src%2Finclude_exp%2Ferrno.enum.h;h=5813cc56898da54fe02f3c50e4ac5b4db68715bc;hb=f923ed326dcf796de44508d4eb1c812ab357a3ca;hp=de9bd7b5ca5543c97ef52eae504e74553df62098;hpb=8cf9dc88c488ba959a211f1ec653a366d16e1531;p=tpg%2Facess2.git diff --git a/Usermode/Libraries/libc.so_src/include_exp/errno.enum.h b/Usermode/Libraries/libc.so_src/include_exp/errno.enum.h old mode 100644 new mode 100755 index de9bd7b5..5813cc56 --- a/Usermode/Libraries/libc.so_src/include_exp/errno.enum.h +++ b/Usermode/Libraries/libc.so_src/include_exp/errno.enum.h @@ -1,34 +1,44 @@ -enum { +enum libc_eErrorNumbers { EOK, + EDOM, // (C99) Value out of domain + EILSEQ, // (C99) Illegal multi-byte sequence + ERANGE, // (C99) Value out of range + ENOSYS, // Invalid Instruction EINVAL, // Invalid Paramater EBADF, // Bad FD ENOMEM, // No free memory EACCES, // Not permitted EBUSY, // Resource is busy - ERANGE, // Value out of range ENOTFOUND, // Item not found - EREADONLY, // Read only (duplicate with EROFS?) + EROFS, // Read only ENOTIMPL, // Not implemented ENOENT, // No entry? EEXIST, // Already exists ENFILE, // Too many open files ENOTDIR, // Not a directory + EISDIR, // Is a directory EIO, // IO Error EINTR, // Operation interrupted (signal) EWOULDBLOCK, // Operation would have blocked ENODEV, // ??? EADDRNOTAVAIL, // ? EINPROGRESS, // ? - EROFS, EPERM, // Permissions error + ENOTTY, // not a tty EAGAIN, // Try again - EALREADY, // Operation was a NOP - EINTERNAL, // Internal Error - NUM_ERRNO + EFBIG, // File too large + E2BIG, // Argument list too large + + // psockets + EAFNOSUPPORT, + + EINTERNAL // Internal Error }; + +#define NUM_ERRNO (EINTERNAL+1)