X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FLibraries%2Flibc.so_src%2Finclude_exp%2Ferrno.enum.h;h=be953d48ff7345d4f6157f4824951a587762ae6d;hb=b99e0f9bd0dfcf6f1b3d33534ea78f8fb33be92a;hp=831ab6580f81b6693f04f72737a6bc303c051e41;hpb=e632a3212d1767a18a74e7a7c35f52c8a1a784d2;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 831ab658..be953d48 --- 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,7 +9,7 @@ enum { 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 @@ -22,14 +22,14 @@ enum { ENODEV, // ??? EADDRNOTAVAIL, // ? EINPROGRESS, // ? - EROFS, EPERM, // Permissions error EAGAIN, // Try again - EALREADY, // Operation was a NOP - EINTERNAL, // Internal Error - NUM_ERRNO + + EINTERNAL // Internal Error }; + +#define NUM_ERRNO (EINTERNAL+1)