From 5f4072340596bcd7e45343bc44317347b00f07e4 Mon Sep 17 00:00:00 2001 From: jkoshy Date: Mon, 31 Oct 2005 04:08:28 +0000 Subject: 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 --- lib/libc/sys/sendfile.2 | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.1