2 enum libc_eErrorNumbers {
4 ENOSYS, // Invalid Instruction
5 EINVAL, // Invalid Paramater
7 ENOMEM, // No free memory
8 EACCES, // Not permitted
9 EBUSY, // Resource is busy
10 ERANGE, // Value out of range
11 ENOTFOUND, // Item not found
13 ENOTIMPL, // Not implemented
15 EEXIST, // Already exists
16 ENFILE, // Too many open files
17 ENOTDIR, // Not a directory
18 EISDIR, // Is a directory
20 EINTR, // Operation interrupted (signal)
21 EWOULDBLOCK, // Operation would have blocked
25 EPERM, // Permissions error
29 EALREADY, // Operation was a NOP
32 EINTERNAL // Internal Error
35 #define NUM_ERRNO (EINTERNAL+1)