From: Erik van der Kouwe Date: Thu, 7 Jan 2010 09:53:31 +0000 (+0000) Subject: Add ENOTSUP error code X-Git-Tag: v3.1.6~101 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=aac4b7923f55b20f131b2e07ef7af26fae9d6666;p=minix.git Add ENOTSUP error code --- diff --git a/include/errno.h b/include/errno.h index 41467474a..4edca7a44 100644 --- a/include/errno.h +++ b/include/errno.h @@ -106,6 +106,7 @@ extern int errno; /* place where the error numbers go */ #define ENOTSOCK (_SIGN 74) /* Socket operation on non-socket */ #define ENOPROTOOPT (_SIGN 75) /* Protocol not available */ #define EOPNOTSUPP (_SIGN 76) /* Operation not supported */ +#define ENOTSUP EOPNOTSUP /* Not supported */ #define ENETDOWN (_SIGN 77) /* network is down */ /* The following are not POSIX errors, but they can still happen. diff --git a/man/man2/intro.2 b/man/man2/intro.2 index ad62b9c7d..a7d1f4639 100644 --- a/man/man2/intro.2 +++ b/man/man2/intro.2 @@ -258,7 +258,7 @@ A path name lookup involved too many symbolic links. .en 73 EMSGSIZE "Message too long .en 74 ENOTSOCK "Socket operation on non-socket .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 .ig .en XXX EDQUOT "Disc quota exceeded"