X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FLibraries%2Flibc.so_src%2Finclude_exp%2Ferrno.enum.h;h=f943654712f8e80a03b81c4663f90e3120727537;hb=7b64f5e7f00e445a5637e9e3289a1332a14d28e5;hp=090b06bf1fbceb0dac01b74a61b0614d9023b1ce;hpb=d69e48450c7ea4be4a82c351b2d5dd0de3fc6241;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 090b06bf..f9436547 --- a/Usermode/Libraries/libc.so_src/include_exp/errno.enum.h +++ b/Usermode/Libraries/libc.so_src/include_exp/errno.enum.h @@ -1,25 +1,40 @@ -enum { +enum libc_eErrorNumbers { EOK, 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 + 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, // ? + EPERM, // Permissions error + ENOTTY, // not a tty + + EAGAIN, // Try again EALREADY, // Operation was a NOP - EINTERNAL, // Internal Error - NUM_ERRNO + EFBIG, // File too large + + // psockets + EAFNOSUPPORT, + + EINTERNAL // Internal Error }; + +#define NUM_ERRNO (EINTERNAL+1)