readdir.3: wfix

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-04-20 00:01:16 +02:00
parent 9970ebdfac
commit de2cf061cb
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ is not changed.
If an error occurs, NULL is returned and If an error occurs, NULL is returned and
.I errno .I errno
is set appropriately. is set appropriately.
To distinguish end of stream and from an error, set To distinguish end of stream from an error, set
.I errno .I errno
to zero before calling to zero before calling
.BR readdir () .BR readdir ()