OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man3 / lseek64.3
index 8e5e88b..7da2ac1 100644 (file)
@@ -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 <unistd.h>
-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/.