New errors and defines for socket options.

This commit is contained in:
Philip Homburg
2006-02-17 13:43:50 +00:00
parent d430c4fac8
commit fa6f63c3cb
3 changed files with 8 additions and 0 deletions

View File

@@ -100,6 +100,8 @@ extern int errno; /* place where the error numbers go */
#define EADDRNOTAVAIL (_SIGN 71) /* Can't assign requested address */
#define EALREADY (_SIGN 72) /* Connection already in progress */
#define EMSGSIZE (_SIGN 73) /* Message too long */
#define ENOTSOCK (_SIGN 74) /* Socket operation on non-socket */
#define ENOPROTOOPT (_SIGN 75) /* Protocol not available */
/* The following are not POSIX errors, but they can still happen.
* All of these are generated by the kernel and relate to message passing.