diff options
| author | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2004-10-16 09:39:25 +0000 |
|---|---|---|
| committer | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2004-10-16 09:39:25 +0000 |
| commit | fc5cfaae79b2deadcd33429a0c829368f815e28b (patch) | |
| tree | e458876b66ebb2ffe5e5d90a25f8ccae772c9a5b /lib | |
| parent | 7c5efe3671140d8aedb06ccdbed6a1f1793b60e1 (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libc/sys/sendfile.2 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/sys/sendfile.2 b/lib/libc/sys/sendfile.2 index 3f2b3d3cbb174..275c047ea93ed 100644 --- a/lib/libc/sys/sendfile.2 +++ b/lib/libc/sys/sendfile.2 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd November 5, 1998 +.Dd October 16, 2004 .Dt SENDFILE 2 .Os .Sh NAME @@ -51,6 +51,10 @@ out a stream socket specified by descriptor The .Fa offset argument specifies where to begin in the file. +Should +.Fa offset +fall beyond the end of file, the system will return +success and report 0 bytes sent as described below. The .Fa nbytes argument specifies how many bytes of the file should be sent, with 0 having the special @@ -209,7 +213,7 @@ is not a SOCK_STREAM type socket. The .Fa offset argument -is negative or out of range. +is invalid, i.e. negative. .It Bq Er ENOTCONN The .Fa s |
