summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>2005-10-31 04:08:28 +0000
committerjkoshy <jkoshy@FreeBSD.org>2005-10-31 04:08:28 +0000
commit5f4072340596bcd7e45343bc44317347b00f07e4 (patch)
treedf5ee4816ffb74c5a21039265ffb31a110b92ca7 /lib
parent8ec6c5c60f2c90e5aee1fc323ff35c490eda6120 (diff)
downloadFreeBSD-src-5f4072340596bcd7e45343bc44317347b00f07e4.zip
FreeBSD-src-5f4072340596bcd7e45343bc44317347b00f07e4.tar.gz
Document the fact that sendfile(2) can EOPNOTSUPP if the underlying
filesystem for the file being transferred doesn't support UIO_NOCOPY. Reported by: Niki Denev <nike_d@cytexbg.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/sendfile.25
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc/sys/sendfile.2 b/lib/libc/sys/sendfile.2
index f04e405..2b2da3d 100644
--- a/lib/libc/sys/sendfile.2
+++ b/lib/libc/sys/sendfile.2
@@ -247,6 +247,11 @@ The
.Fa s
argument
is not a socket.
+.It Bq Er EOPNOTSUPP
+The file system for descriptor
+.Fa fd
+does not support
+.Fn sendfile .
.It Bq Er EPIPE
The socket peer has closed the connection.
.El
OpenPOWER on IntegriCloud