Usermode/libc,libpsocket - Various fixes to psockets and errno
[tpg/acess2.git] / Usermode / Libraries / libc.so_src / include_exp / errno.enum.h
index 090b06b..de9bd7b 100644 (file)
@@ -3,12 +3,13 @@ enum {
        EOK,
        ENOSYS, // Invalid Instruction
        EINVAL, // Invalid Paramater
+       EBADF,  // Bad FD
        ENOMEM, // No free memory
        EACCES, // Not permitted
        EBUSY,  // Resource is busy
        ERANGE, // Value out of range
        ENOTFOUND,      // Item not found
-       EREADONLY,      // Read only
+       EREADONLY,      // Read only (duplicate with EROFS?)
        ENOTIMPL,       // Not implemented
        ENOENT, // No entry?
        EEXIST, // Already exists
@@ -16,6 +17,14 @@ enum {
        ENOTDIR,        // Not a directory
        EIO,    // IO Error
        EINTR,  // Operation interrupted (signal)
+       EWOULDBLOCK,    // Operation would have blocked
+       ENODEV, // ???
+       EADDRNOTAVAIL,  // ?
+       EINPROGRESS,    // ?
+       EROFS,
+       EPERM,  // Permissions error
+
+       EAGAIN, // Try again
        
        EALREADY,       // Operation was a NOP
        EINTERNAL,      // Internal Error

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