aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-03-02 12:32:04 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-03-02 12:32:04 +0100
commitf435db47cdb923b20979981c557777a5931089d9 (patch)
treef462df3ad555adef8347180c5d22cc5469494208
parent0fdfbd140ded6d82c802864bf61d728d9d30ad6d (diff)
downloadman-pages-f435db47cdb923b20979981c557777a5931089d9.tar.gz
opendir.3: Help the reader by explicitly mentioning the use of readdir(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/opendir.33
1 files changed, 3 insertions, 0 deletions
diff --git a/man3/opendir.3 b/man3/opendir.3
index 4746b446fe..1e6c1b1f19 100644
--- a/man3/opendir.3
+++ b/man3/opendir.3
@@ -134,6 +134,9 @@ is present on SVr4, 4.3BSD, and specified in POSIX.1-2001.
.BR fdopendir ()
is specified in POSIX.1-2008.
.SH NOTES
+Filename entries can be read from a directory stream using
+.BR readdir (3).
+
The underlying file descriptor of the directory stream can be obtained using
.BR dirfd (3).