X-Git-Url: http://git.osdn.net/view?p=linuxjm%2FLDP_man-pages.git;a=blobdiff_plain;f=original%2Fman3%2Flseek64.3;h=7da2ac1d82cd063708b5dd57fa1fcaf3a5e46d08;hp=8e5e88b697e3c8d699d4b73d63d3e19af49a584d;hb=4ea6bb24817f6f049d6bbc90ecd77a869876f9b0;hpb=e9e6c106d11bd9cca5f4a6585364b93f5ae3007a diff --git a/original/man3/lseek64.3 b/original/man3/lseek64.3 index 8e5e88b6..7da2ac1d 100644 --- a/original/man3/lseek64.3 +++ b/original/man3/lseek64.3 @@ -22,7 +22,7 @@ .\" the source, must acknowledge the copyright and authors of this work. .\" %%%LICENSE_END .\" -.TH LSEEK64 3 2004-12-11 "Linux" "Linux Programmer's Manual" +.TH LSEEK64 3 2014-08-19 "Linux" "Linux Programmer's Manual" .SH NAME lseek64 \- reposition 64-bit read/write file offset .SH SYNOPSIS @@ -126,11 +126,8 @@ is a 64-bit signed type. The library routine .BR llseek () .\" in libc 5.0.9, not in 4.7.6 -is available in libc5 and glibc and works without special defines. -Its prototype was given in -.I -with libc5, but glibc does not provide a prototype. -This is bad, since a prototype is needed. +is available in the glibc and works without special defines. +However, the glibc headers do not provide a prototype. Users should add the above prototype, or something equivalent, to their own source. When users complained about data loss caused by a miscompilation of @@ -156,6 +153,20 @@ The prototype is: .sp For more details, see .BR llseek (2). +.SH ATTRIBUTES +.SS Multithreading (see pthreads(7)) +The +.BR lseek64 () +function is thread-safe. .SH SEE ALSO .BR llseek (2), .BR lseek (2) +.SH COLOPHON +This page is part of release 3.79 of the Linux +.I man-pages +project. +A description of the project, +information about reporting bugs, +and the latest version of this page, +can be found at +\%http://www.kernel.org/doc/man\-pages/.