X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FLibraries%2Flibc.so_src%2Finclude_exp%2Ferrno.enum.h;h=d7b105365e14bccf3c0614f22ad7206872c3c1ae;hb=230612b2efeeb769f1d96193ec01b10bd36d9873;hp=1aeb879b49ca087e2cfa045790eed2af0587a41c;hpb=4c78a1bdd506cda6cda27ee342165c7dfa7ecdc2;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 1aeb879b..d7b10536 --- a/Usermode/Libraries/libc.so_src/include_exp/errno.enum.h +++ b/Usermode/Libraries/libc.so_src/include_exp/errno.enum.h @@ -1,32 +1,48 @@ -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 + 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 + ENOSPC, // (POSIX) No space left on device - NUM_ERRNO + EFBIG, // File too large + E2BIG, // Argument list too large + + // psockets + EAFNOSUPPORT, + EADDRINUSE, // (POSIX.1) Specified addres is already in use + ETIMEDOUT, + EOPNOTSUPP, // (POSIX.1) Operation not supported on socket + + EINTERNAL // Internal Error }; + +#define NUM_ERRNO (EINTERNAL+1)