Usermode/libc - Added EAFNOSUPPORT
authorJohn Hodge <[email protected]>
Sat, 30 Nov 2013 14:42:39 +0000 (22:42 +0800)
committerJohn Hodge <[email protected]>
Sat, 30 Nov 2013 14:42:39 +0000 (22:42 +0800)
Usermode/Libraries/libc.so_src/errno.c
Usermode/Libraries/libc.so_src/include_exp/errno.enum.h

index 7e1905c..e2948d6 100644 (file)
@@ -46,6 +46,7 @@ EXPORT char *strerror(int errnum)
        case ENOTTY:    return "Not a TTY";
        case EAGAIN:    return "Try again";
        case EALREADY:  return "Operation was no-op";
+       case EAFNOSUPPORT:      return "Address family not supported";
        case EINTERNAL: return "Internal error";
        }
        _SysDebug("strerror: errnum=%i unk", errnum);
index 3ebf26d..6d33bd4 100755 (executable)
@@ -27,7 +27,9 @@ enum libc_eErrorNumbers {
 
        EAGAIN, // Try again
        EALREADY,       // Operation was a NOP
-       
+
+       // psockets
+       EAFNOSUPPORT,   
        
        EINTERNAL       // Internal Error
 };

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