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>
This commit is contained in:
Alejandro Colomar 2021-03-20 21:01:16 +01:00 committed by Michael Kerrisk
parent 21bc0c8713
commit a60b5d45e7
1 changed files with 7 additions and 1 deletions

View File

@ -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).