diff --git a/man2/sendfile.2 b/man2/sendfile.2 index 12d4d3c7c..df6211403 100644 --- a/man2/sendfile.2 +++ b/man2/sendfile.2 @@ -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),