diff options
| author | Alejandro Colomar <alx@kernel.org> | 2023-07-17 22:43:18 +0200 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2025-03-30 12:31:37 +0200 |
| commit | a82917ada0509758ac6d717402858536af3a032d (patch) | |
| tree | ce8bc810a6c9f2f0ef5c7641392613d6b8a2ed0e /man/man3/readdir.3 | |
| parent | c47826785d91e9cd8c2957d789e50a50e36833e0 (diff) | |
| download | man-pages-a82917ada0509758ac6d717402858536af3a032d.tar.gz | |
man/: srcfix (\fX => \f[X])
While doing this global change, fix other minor issues found nearby.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man/man3/readdir.3')
| -rw-r--r-- | man/man3/readdir.3 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/man/man3/readdir.3 b/man/man3/readdir.3 index b545e5fb99..fa16924c79 100644 --- a/man/man3/readdir.3 +++ b/man/man3/readdir.3 @@ -29,9 +29,12 @@ Standard C library .SH DESCRIPTION The .BR readdir () -function returns a pointer to a \fIdirent\fP structure +function returns a pointer to a +.I dirent +structure representing the next directory entry in the directory stream pointed -to by \fIdirp\fP. +to by +.IR dirp . It returns NULL on reaching the end of the directory stream or if an error occurred. .P @@ -171,7 +174,8 @@ if NULL is returned. .SH ERRORS .TP .B EBADF -Invalid directory stream descriptor \fIdirp\fP. +Invalid directory stream descriptor +.IR dirp . .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). |
