aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKir Kolyshkin <kolyshkin@gmail.com>2024-06-16 13:13:20 -0700
committerAlejandro Colomar <alx@kernel.org>2024-06-16 22:41:10 +0200
commit557fde6700bdc3a766e75be35c37c3b8c21bedfe (patch)
treea60eb4f2f359bd685e834c672af0525db4f5610e
parentfa2ca6f2e080a16eebd528defef9deaea6145477 (diff)
downloadman-pages-557fde6700bdc3a766e75be35c37c3b8c21bedfe.tar.gz
readdir.3: Fix wrong section references
There are references to NOTES section, but since the commit 4131356cd ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") the relevant information is in VERSIONS. While at it, unify the "see XXX" style. Fixes: 4131356cdab8 ("man*/, man-pages.7: VERSIONS, STANDARDS, HISTORY: Reorganize sections") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Message-ID: <20240616201323.1662948-1-kolyshkin@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man/man3/readdir.38
1 files changed, 4 insertions, 4 deletions
diff --git a/man/man3/readdir.3 b/man/man3/readdir.3
index 41cc00b52f..235fa42db3 100644
--- a/man/man3/readdir.3
+++ b/man/man3/readdir.3
@@ -59,7 +59,7 @@ structure that are mandated by POSIX.1 are
and
.IR d_ino .
The other fields are unstandardized, and not present on all systems;
-see NOTES below for some further details.
+see VERSIONS.
.P
The fields of the
.I dirent
@@ -85,7 +85,7 @@ making no assumptions about its contents; see also
.I d_reclen
This is the size (in bytes) of the returned record.
This may not match the size of the structure definition shown above;
-see NOTES.
+see VERSIONS.
.TP
.I d_type
This field contains a value indicating the file type,
@@ -137,8 +137,8 @@ All applications must properly handle a return of
.BR DT_UNKNOWN .
.TP
.I d_name
-This field contains the null terminated filename.
-.IR "See NOTES" .
+This field contains the null terminated filename;
+see VERSIONS.
.P
The data returned by
.BR readdir ()