readdir.3: Clarify that "positive error numbers" are listed in ERRORS

Reported-by fkater@googlemail.com
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2010-09-10 07:43:12 +02:00
parent b220f1b53a
commit 636036b6b1
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@
.\" Rework discussion of nonstandard structure fields.
.\" 2008-09-11, mtk, Document readdir_r().
.\"
.TH READDIR 3 2009-07-04 "" "Linux Programmer's Manual"
.TH READDIR 3 2010-09-10 "" "Linux Programmer's Manual"
.SH NAME
readdir, readdir_r \- read a directory
.SH SYNOPSIS
@ -131,7 +131,7 @@ is set appropriately.
The
.BR readdir_r ()
function returns 0 on success.
On error, it returns a positive error number.
On error, it returns a positive error number (listed under ERRORS).
If the end of the directory stream is reached,
.BR readdir_r ()
returns 0, and returns NULL in