1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-22 15:47:37 +00:00

More accurately document what happens on error.

PR:		docs/127908
Submitted by:	Matthew D. Fuller <fullermd@over-yonder.net>
Approved by:	cperciva
MFC after:	1 week
This commit is contained in:
Eitan Adler 2012-02-09 20:49:03 +00:00
parent b169a33235
commit 7c88c0d0e1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=231299

View File

@ -122,9 +122,12 @@ function
returns a pointer to the next directory entry.
It returns
.Dv NULL
upon reaching the end of the directory or detecting an invalid
.Fn seekdir
operation.
upon reaching the end of the directory or on error.
In the event of an error,
.Va errno
may be set to any of the values documented for the
.Xr getdirentries 2
system call.
.Pp
The
.Fn readdir_r