aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2021-03-20 21:01:16 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2021-04-04 22:16:48 +0200
commita60b5d45e76cb663e95b5ce54164b89399a362bc (patch)
treea3147735040a206e98477bba24f6889809233e03 /man3
parent21bc0c8713bfc7801c8230da51692d0a1cd0d739 (diff)
downloadman-pages-a60b5d45e76cb663e95b5ce54164b89399a362bc.tar.gz
errno.3: Fix ENODATA text
ENODATA is an XSI STREAMS extension (not base POSIX). Linux reused the name for extended attributes. The current manual pages don't use ENODATA with its POSIX meaning, so use the xattr(7) specific text, and leave the POSIX meaning for a secondary paragraph. Reported-by: Mark Kettenis <kettenis@openbsd.org> Reported-by: Florian Weimer <fw@deneb.enyo.de> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3')
-rw-r--r--man3/errno.38
1 files changed, 7 insertions, 1 deletions
diff --git a/man3/errno.3 b/man3/errno.3
index 72cc7b3bff..0203400276 100644
--- a/man3/errno.3
+++ b/man3/errno.3
@@ -403,7 +403,13 @@ No buffer space available (POSIX.1 (XSI STREAMS option)).
.\" ENOCSI is defined but appears to be unused.
.TP
.B ENODATA
-No message is available on the STREAM head read queue (POSIX.1-2001).
+The named attribute does not exist,
+or the process has no access to this attribute; see
+.BR xattr (7).
+.IP
+In POSIX.1-2001 (XSI STREAMS option),
+this error was described as
+"No message is available on the STREAM head read queue".
.TP
.B ENODEV
No such device (POSIX.1-2001).