diff options
Diffstat (limited to 'man2/pread.2')
-rw-r--r-- | man2/pread.2 | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/man2/pread.2 b/man2/pread.2 index e80680b48..d8c128e3d 100644 --- a/man2/pread.2 +++ b/man2/pread.2 @@ -20,7 +20,7 @@ Standard C library .P .RS -4 Feature Test Macro Requirements for glibc (see -.BR feature_test_macros (7)): +.MR feature_test_macros 7 ): .RE .P .BR pread (), @@ -66,9 +66,9 @@ returns the number of bytes written. .P Note that it is not an error for a successful call to transfer fewer bytes than requested (see -.BR read (2) +.MR read 2 and -.BR write (2)). +.MR write 2 ). .P On error, \-1 is returned and .I errno @@ -78,16 +78,16 @@ is set to indicate the error. can fail and set .I errno to any error specified for -.BR read (2) +.MR read 2 or -.BR lseek (2). +.MR lseek 2 . .BR pwrite () can fail and set .I errno to any error specified for -.BR write (2) +.MR write 2 or -.BR lseek (2). +.MR lseek 2 . .SH STANDARDS POSIX.1-2008. .SH HISTORY @@ -96,7 +96,7 @@ POSIX.1-2001. Added in Linux 2.1.60; the entries in the i386 system call table were added in Linux 2.1.69. C library support (including emulation using -.BR lseek (2) +.MR lseek 2 on older kernels without the system calls) was added in glibc 2.1. .SS C library/kernel differences On Linux, the underlying system calls were renamed @@ -118,7 +118,7 @@ wrapper functions transparently deal with the change. On some 32-bit architectures, the calling signature for these system calls differ, for the reasons described in -.BR syscall (2). +.MR syscall 2 . .SH NOTES The .BR pread () @@ -140,7 +140,7 @@ However, on Linux, if a file is opened with appends data to the end of the file, regardless of the value of .IR offset . .SH SEE ALSO -.BR lseek (2), -.BR read (2), -.BR readv (2), -.BR write (2) +.MR lseek 2 , +.MR read 2 , +.MR readv 2 , +.MR write 2 |