mirror of https://github.com/mkerrisk/man-pages
sendfile.2: Clarify behavior when offset is NULL
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
d6f53dcc30
commit
5227ef33b5
|
@ -12,7 +12,7 @@
|
|||
.\"
|
||||
.\" 2005-03-31 Martin Pool <mbp@sourcefrog.net> mmap() improvements
|
||||
.\"
|
||||
.TH SENDFILE 2 2004-12-17 "Linux" "Linux Programmer's Manual"
|
||||
.TH SENDFILE 2 2010-02-15 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
sendfile \- transfer data between file descriptors
|
||||
.SH SYNOPSIS
|
||||
|
@ -77,6 +77,13 @@ otherwise the current file offset is adjusted to reflect
|
|||
the number of bytes read from
|
||||
.IR in_fd .
|
||||
|
||||
If
|
||||
.I offset
|
||||
is NULL, then data will be read from
|
||||
.IR in_fd
|
||||
starting at the current file offset,
|
||||
and the file offset will be updated by the call.
|
||||
|
||||
.I count
|
||||
is the number of bytes to copy between the file descriptors.
|
||||
|
||||
|
|
Loading…
Reference in New Issue