X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FLibraries%2Flibc.so_src%2Finclude_exp%2Ferrno.enum.h;h=6d33bd4905e92f1a729941b8f8c80de24bf6cb6a;hb=43eed682f209cef10678b5882fce95f16302ae51;hp=67ca35196a59de4f3d03859b9c31ebc1710a4a99;hpb=b806b8f55067584cb90fe20277235369a1111c66;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 67ca3519..6d33bd49 --- a/Usermode/Libraries/libc.so_src/include_exp/errno.enum.h +++ b/Usermode/Libraries/libc.so_src/include_exp/errno.enum.h @@ -1,5 +1,5 @@ -enum { +enum libc_eErrorNumbers { EOK, ENOSYS, // Invalid Instruction EINVAL, // Invalid Paramater @@ -9,23 +9,30 @@ enum { 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 + + // psockets + EAFNOSUPPORT, - NUM_ERRNO + EINTERNAL // Internal Error }; + +#define NUM_ERRNO (EINTERNAL+1)