[PATCH] man2/readv.2: Unknown flags result in EOPNOTSUPP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As reported by Adhemerval Zanella in

  <https://sourceware.org/ml/libc-alpha/2018-09/msg00519.html>

the kernel actually uses EOPNOTSUPP for the preadv2/pwritev2 system
calls, unlike some other system calls.
---
 man2/readv.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man2/readv.2 b/man2/readv.2
index 4441e92e5..2d7300750 100644
--- a/man2/readv.2
+++ b/man2/readv.2
@@ -312,7 +312,7 @@ The vector count,
 .IR iovcnt ,
 is less than zero or greater than the permitted maximum.
 .TP
-.B EINVAL
+.B EOPNOTSUPP
 An unknown flag is specified in \fIflags\fP.
 .SH VERSIONS
 .BR preadv ()
-- 
2.14.4




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux