Merge branch 'master' of git://github.com/thepowersgang/acess2
[tpg/acess2.git] / Usermode / Libraries / libc.so_src / include_exp / errno.enum.h
1
2 enum libc_eErrorNumbers {
3         EOK,
4         EDOM,   // (C99) Value out of domain
5         EILSEQ, // (C99) Illegal multi-byte sequence
6         ERANGE, // (C99) Value out of range
7         
8         ENOSYS, // Invalid Instruction
9         EINVAL, // Invalid Paramater
10         EBADF,  // Bad FD
11         ENOMEM, // No free memory
12         EACCES, // Not permitted
13         EBUSY,  // Resource is busy
14         ENOTFOUND,      // Item not found
15         EROFS,  // Read only
16         ENOTIMPL,       // Not implemented
17         ENOENT, // No entry?
18         EEXIST, // Already exists
19         ENFILE, // Too many open files
20         ENOTDIR,        // Not a directory
21         EISDIR, // Is a directory
22         EIO,    // IO Error
23         EINTR,  // Operation interrupted (signal)
24         EWOULDBLOCK,    // Operation would have blocked
25         ENODEV, // ???
26         EADDRNOTAVAIL,  // ?
27         EINPROGRESS,    // ?
28         EPERM,  // Permissions error
29         ENOTTY, // not a tty
30
31         EAGAIN, // Try again
32         EALREADY,       // Operation was a NOP
33         ENOSPC, // (POSIX) No space left on device
34         
35         EFBIG,  // File too large
36         E2BIG,  // Argument list too large
37
38         // psockets
39         EAFNOSUPPORT,   
40         EADDRINUSE,     // (POSIX.1) Specified addres is already in use
41         ETIMEDOUT,
42         EOPNOTSUPP,     // (POSIX.1) Operation not supported on socket
43         
44         EINTERNAL       // Internal Error
45 };
46         
47 #define NUM_ERRNO       (EINTERNAL+1)
48

UCC git Repository :: git.ucc.asn.au