mirror of https://github.com/mkerrisk/man-pages
sendfile.2: Add notes on sendfile64()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
e283e0067b
commit
33cf6d369b
|
@ -168,6 +168,18 @@ In Linux 2.4 and earlier,
|
|||
could refer to a regular file, and
|
||||
.BR sendfile ()
|
||||
changed the current offset of that file.
|
||||
|
||||
The original Linux
|
||||
.BR sendfile ()
|
||||
system call was not designed to handle large file offsets.
|
||||
Consequently, Linux 2.4 added
|
||||
.BR sendfile64 (),
|
||||
with a wider type for the
|
||||
.I offset
|
||||
argument.
|
||||
The glibc
|
||||
.BR sendfile ()
|
||||
wrapper function transparently deals with the kernel differences.
|
||||
.SH "SEE ALSO"
|
||||
.BR mmap (2),
|
||||
.BR open (2),
|
||||
|
|
Loading…
Reference in New Issue