aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-01-21 23:16:56 +0000
committerRoland McGrath <roland@gnu.org>1999-01-21 23:16:56 +0000
commitaef211b5e786d6b5645f34a6bcdbe098c10255c2 (patch)
tree9d8cd6d9e4047a6a0262b752c45c82cae99f0256 /sysdeps/gnu/errlist.c
parentAdd missing dependency for preloadtest binary. (diff)
downloadglibc-aef211b5e786d6b5645f34a6bcdbe098c10255c2.tar.gz
glibc-aef211b5e786d6b5645f34a6bcdbe098c10255c2.tar.bz2
glibc-aef211b5e786d6b5645f34a6bcdbe098c10255c2.zip
Regenerated from ../sysdeps/gnu/errlist.awk ../manual/errno.texi
Diffstat (limited to 'sysdeps/gnu/errlist.c')
-rw-r--r--sysdeps/gnu/errlist.c24
1 files changed, 21 insertions, 3 deletions
diff --git a/sysdeps/gnu/errlist.c b/sysdeps/gnu/errlist.c
index b5f9486eae..80a7c88dc5 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