2 enum libc_eErrorNumbers {
4 EDOM, // (C99) Value out of domain
5 EILSEQ, // (C99) Illegal multi-byte sequence
6 ERANGE, // (C99) Value out of range
8 ENOSYS, // Invalid Instruction
9 EINVAL, // Invalid Paramater
11 ENOMEM, // No free memory
12 EACCES, // Not permitted
13 EBUSY, // Resource is busy
14 ENOTFOUND, // Item not found
16 ENOTIMPL, // Not implemented
18 EEXIST, // Already exists
19 ENFILE, // Too many open files
20 ENOTDIR, // Not a directory
21 EISDIR, // Is a directory
23 EINTR, // Operation interrupted (signal)
24 EWOULDBLOCK, // Operation would have blocked
28 EPERM, // Permissions error
32 EALREADY, // Operation was a NOP
33 ENOSPC, // (POSIX) No space left on device
35 EFBIG, // File too large
36 E2BIG, // Argument list too large
40 EADDRINUSE, // Specified addres is already in use
43 EINTERNAL // Internal Error
46 #define NUM_ERRNO (EINTERNAL+1)