Add ENOTSUP error code

This commit is contained in:
Erik van der Kouwe 2010-01-07 09:53:31 +00:00
parent 1a39ed880a
commit aac4b7923f
2 changed files with 2 additions and 1 deletions

View file

@ -106,6 +106,7 @@ extern int errno; /* place where the error numbers go */
#define ENOTSOCK (_SIGN 74) /* Socket operation on non-socket */ #define ENOTSOCK (_SIGN 74) /* Socket operation on non-socket */
#define ENOPROTOOPT (_SIGN 75) /* Protocol not available */ #define ENOPROTOOPT (_SIGN 75) /* Protocol not available */
#define EOPNOTSUPP (_SIGN 76) /* Operation not supported */ #define EOPNOTSUPP (_SIGN 76) /* Operation not supported */
#define ENOTSUP EOPNOTSUP /* Not supported */
#define ENETDOWN (_SIGN 77) /* network is down */ #define ENETDOWN (_SIGN 77) /* network is down */
/* The following are not POSIX errors, but they can still happen. /* The following are not POSIX errors, but they can still happen.

View file

@ -258,7 +258,7 @@ A path name lookup involved too many symbolic links.
.en 73 EMSGSIZE "Message too long .en 73 EMSGSIZE "Message too long
.en 74 ENOTSOCK "Socket operation on non-socket .en 74 ENOTSOCK "Socket operation on non-socket
.en 75 ENOPROTOOPT "Protocol not available .en 75 ENOPROTOOPT "Protocol not available
.en 76 EOPNOTSUPP "Operation not supported .en 76 EOPNOTSUPP "Operation not supported (has alias ENOTSUP)
.en 77 ENETDOWN "Network is down .en 77 ENETDOWN "Network is down
.ig .ig
.en XXX EDQUOT "Disc quota exceeded" .en XXX EDQUOT "Disc quota exceeded"