OSDN Git Service

(split) LDP: Update original to LDP v3.54
[linuxjm/LDP_man-pages.git] / original / man3 / telldir.3
index 21713d4..c61f1f2 100644 (file)
@@ -27,7 +27,7 @@
 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
 .\"     386BSD man pages
 .\" Modified Sat Jul 24 17:48:42 1993 by Rik Faith (faith@cs.unc.edu)
-.TH TELLDIR 3  2013-03-24 "" "Linux Programmer's Manual"
+.TH TELLDIR 3  2013-09-02 "" "Linux Programmer's Manual"
 .SH NAME
 telldir \- return current location in directory stream
 .SH SYNOPSIS
@@ -61,6 +61,11 @@ is set appropriately.
 .TP
 .B EBADF
 Invalid directory stream descriptor \fIdirp\fP.
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR telldir ()
+function is thread-safe.
 .SH CONFORMING TO
 4.3BSD, POSIX.1-2001.
 .SH NOTES
@@ -72,12 +77,12 @@ POSIX.1-2001 specifies
 .IR long ,
 and this is the type used since glibc 2.1.2.
 
-In early file systems, the value returned by
+In early filesystems, the value returned by
 .BR telldir ()
 was a simple file offset within a directory.
-Modern file systems use tree or hash structures, rather than flat tables,
+Modern filesystems use tree or hash structures, rather than flat tables,
 to represent directories.
-On such file systems, the value returned by
+On such filesystems, the value returned by
 .BR telldir ()
 (and used internally by
 .BR readdir (3))