aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2004-10-18 10:02:04 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2004-10-18 10:02:04 +0000
commit017aaf79e1867aa8d2fb98d79b7b4d5ebbcf2175 (patch)
treedd4d878203716ef9ff253add62e1b9854dcb8b69
parent4325be53b0e41f2de2799d6c9f234626acd5dcb3 (diff)
downloadsrc-017aaf79e1867aa8d2fb98d79b7b4d5ebbcf2175.tar.gz
src-017aaf79e1867aa8d2fb98d79b7b4d5ebbcf2175.zip
Since sendfile(2) works on regular files only,
which have no negative offsets, "negative" and "invalid" are equivalent WRT the offset argument. Suggested by: bde
Notes
Notes: svn path=/head/; revision=136660
-rw-r--r--lib/libc/sys/sendfile.22
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/sys/sendfile.2 b/lib/libc/sys/sendfile.2
index 8c7dadbda7e1..751b471e255b 100644
--- a/lib/libc/sys/sendfile.2
+++ b/lib/libc/sys/sendfile.2
@@ -219,7 +219,7 @@ is not a SOCK_STREAM type socket.
The
.Fa offset
argument
-is invalid, i.e. negative.
+is negative.
.It Bq Er ENOTCONN
The
.Fa s