mirror of https://github.com/mkerrisk/man-pages
pread.2: Add notes on pread64() and pwrite64()
See https://bugzilla.kernel.org/show_bug.cgi?id=23072 Reported-by: Eugene Kapun <abacabadabacaba@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
0290f43731
commit
a4590809bd
18
man2/pread.2
18
man2/pread.2
|
@ -20,7 +20,7 @@
|
|||
.\" Formatted or processed versions of this manual, if unaccompanied by
|
||||
.\" the source, must acknowledge the copyright and authors of this work.
|
||||
.\"
|
||||
.TH PREAD 2 2010-11-16 "Linux" "Linux Programmer's Manual"
|
||||
.TH PREAD 2 2010-11-21 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
pread, pwrite \- read from or write to a file descriptor at a given offset
|
||||
.SH SYNOPSIS
|
||||
|
@ -112,6 +112,22 @@ C library support (including emulation using
|
|||
on older kernels without the system calls) was added in glibc 2.1.
|
||||
.SH "CONFORMING TO"
|
||||
POSIX.1-2001.
|
||||
.SH NOTES
|
||||
On Linux, the underlying system calls were renamed
|
||||
in kernel 2.6:
|
||||
.BR pread ()
|
||||
became
|
||||
.BR pread64 (),
|
||||
and
|
||||
.BR pwrite ()
|
||||
became
|
||||
.BR pwrite64 (),
|
||||
The system call numbers remained the same.
|
||||
The glibc
|
||||
.BR pread ()
|
||||
and
|
||||
.BR pwrite ()
|
||||
wrapper functions transparently deal with the change.
|
||||
.SH "SEE ALSO"
|
||||
.BR lseek (2),
|
||||
.BR read (2),
|
||||
|
|
Loading…
Reference in New Issue