svn commit: r231848 - stable/7/lib/libc/gen

Eitan Adler eadler at FreeBSD.org
Fri Feb 17 00:56:18 UTC 2012


Author: eadler
Date: Fri Feb 17 00:56:17 2012
New Revision: 231848
URL: http://svn.freebsd.org/changeset/base/231848

Log:
  MFC r231299:
  	 - More accurately document what happens on error.
  
  PR:		docs/127908
  Approved by:	cperciva

Modified:
  stable/7/lib/libc/gen/directory.3
Directory Properties:
  stable/7/lib/libc/   (props changed)

Modified: stable/7/lib/libc/gen/directory.3
==============================================================================
--- stable/7/lib/libc/gen/directory.3	Fri Feb 17 00:55:26 2012	(r231847)
+++ stable/7/lib/libc/gen/directory.3	Fri Feb 17 00:56:17 2012	(r231848)
@@ -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


More information about the svn-src-stable-7 mailing list