summaryrefslogtreecommitdiffstats
path: root/man3/telldir.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/telldir.3')
-rw-r--r--man3/telldir.313
1 files changed, 6 insertions, 7 deletions
diff --git a/man3/telldir.3 b/man3/telldir.3
index 6bbd158..dbc5d9c 100644
--- a/man3/telldir.3
+++ b/man3/telldir.3
@@ -8,7 +8,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 2023-07-20 "Linux man-pages 6.05.01"
+.TH telldir 3 2023-10-31 "Linux man-pages 6.7"
.SH NAME
telldir \- return current location in directory stream
.SH LIBRARY
@@ -17,15 +17,15 @@ Standard C library
.SH SYNOPSIS
.nf
.B #include <dirent.h>
-.PP
+.P
.BI "long telldir(DIR *" dirp );
.fi
-.PP
+.P
.RS -4
Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):
.RE
-.PP
+.P
.BR telldir ():
.nf
_XOPEN_SOURCE
@@ -63,12 +63,11 @@ T{
.BR telldir ()
T} Thread safety MT-Safe
.TE
-.sp 1
.SH STANDARDS
POSIX.1-2008.
.SH HISTORY
POSIX.1-2001, 4.3BSD.
-.PP
+.P
Up to glibc 2.1.1, the return type of
.BR telldir ()
was
@@ -76,7 +75,7 @@ was
POSIX.1-2001 specifies
.IR long ,
and this is the type used since glibc 2.1.2.
-.PP
+.P
In early filesystems, the value returned by
.BR telldir ()
was a simple file offset within a directory.