Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Feb 2012 00:55:26 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r231847 - stable/9/lib/libc/gen
Message-ID:  <201202170055.q1H0tQEE042421@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Fri Feb 17 00:55:26 2012
New Revision: 231847
URL: http://svn.freebsd.org/changeset/base/231847

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

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202170055.q1H0tQEE042421>