.\" 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
.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
.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))