Added EOPNOTSUPP and better error handling in accept.

This commit is contained in:
Philip Homburg
2006-09-14 13:48:41 +00:00
parent c39a693274
commit d24a880003
3 changed files with 23 additions and 6 deletions

View File

@@ -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.