Added EOPNOTSUPP and better error handling in accept.
This commit is contained in:
@@ -102,6 +102,7 @@ extern int errno; /* place where the error numbers go */
|
||||
#define EMSGSIZE (_SIGN 73) /* Message too long */
|
||||
#define ENOTSOCK (_SIGN 74) /* Socket operation on non-socket */
|
||||
#define ENOPROTOOPT (_SIGN 75) /* Protocol not available */
|
||||
#define EOPNOTSUPP (_SIGN 76) /* Operation not supported */
|
||||
|
||||
/* The following are not POSIX errors, but they can still happen.
|
||||
* All of these are generated by the kernel and relate to message passing.
|
||||
|
||||
Reference in New Issue
Block a user