svn commit: r339343 - head/lib/libc/sys
Allan Jude
allanjude at FreeBSD.org
Sat Oct 13 02:20:17 UTC 2018
Author: allanjude
Date: Sat Oct 13 02:20:16 2018
New Revision: 339343
URL: https://svnweb.freebsd.org/changeset/base/339343
Log:
Document that sendfile(2) can return ENOTCAPABLE
PR: 232207
Submitted by: Enji Cooper <yaneurabeya at gmail.com>
Approved by: re (rgrimes)
Modified:
head/lib/libc/sys/sendfile.2
Modified: head/lib/libc/sys/sendfile.2
==============================================================================
--- head/lib/libc/sys/sendfile.2 Sat Oct 13 00:13:24 2018 (r339342)
+++ head/lib/libc/sys/sendfile.2 Sat Oct 13 02:20:16 2018 (r339343)
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd November 17, 2016
+.Dd October 12, 2018
.Dt SENDFILE 2
.Os
.Sh NAME
@@ -336,6 +336,12 @@ is negative.
.It Bq Er EIO
An error occurred while reading from
.Fa fd .
+.It Bq Er ENOTCAPABLE
+The
+.Fa fd
+or the
+.Fa s
+argument has insufficient rights.
.It Bq Er ENOBUFS
The system was unable to allocate an internal buffer.
.It Bq Er ENOTCONN
More information about the svn-src-all
mailing list