From aef211b5e786d6b5645f34a6bcdbe098c10255c2 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 21 Jan 1999 23:16:56 +0000 Subject: Regenerated from ../sysdeps/gnu/errlist.awk ../manual/errno.texi --- sysdeps/gnu/errlist.c | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/sysdeps/gnu/errlist.c b/sysdeps/gnu/errlist.c index b5f9486..80a7c88 100644 --- a/sysdeps/gnu/errlist.c +++ b/sysdeps/gnu/errlist.c @@ -567,11 +567,29 @@ TRANS ??? */ #endif #ifdef ENOSYS /* -TRANS Function not implemented. Some functions have commands or options defined -TRANS that might not be supported in all implementations, and this is the kind -TRANS of error you get if you request them and they are not supported. */ +TRANS Function not implemented. This indicates that the function called is +TRANS not implemented at all, either in the C library itself or in the +TRANS operating system. When you get this error, you can be sure that this +TRANS particular function will always fail with @code{ENOSYS} unless you +TRANS install a new version of the C library or the operating system. */ [ERR_REMAP (ENOSYS)] = N_("Function not implemented"), #endif +#ifdef ENOTSUP +/* +TRANS Not supported. A function returns this error when certain parameter +TRANS values are valid, but the functionality they request is not available. +TRANS This can mean that the function does not implement a particular command +TRANS or option value or flag bit at all. For functions that operate on some +TRANS object given in a parameter, such as a file descriptor or a port, it +TRANS might instead mean that only @emph{that specific object} (file +TRANS descriptor, port, etc.) is unable to support the other parameters given; +TRANS different file descriptors might support different ranges of parameter +TRANS values. +TRANS +TRANS If the entire function is not available at all in the implementation, +TRANS it returns @code{ENOSYS} instead. */ + [ERR_REMAP (ENOTSUP)] = N_("Not supported"), +#endif #ifdef EILSEQ /* TRANS While decoding a multibyte character the function came along an invalid -- cgit v1.1