Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/gen Actually the previous is wrong; all of these ca...



details:   https://anonhg.NetBSD.org/src/rev/6bb73bfe97a4
branches:  trunk
changeset: 754935:6bb73bfe97a4
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Mon May 17 03:09:06 2010 +0000

description:
Actually the previous is wrong; all of these can set the errno either via
each other or via something like malloc(3) or lseek(2).

diffstat:

 lib/libc/gen/directory.3 |  12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)

diffs (26 lines):

diff -r 1376cc959361 -r 6bb73bfe97a4 lib/libc/gen/directory.3
--- a/lib/libc/gen/directory.3  Mon May 17 03:04:09 2010 +0000
+++ b/lib/libc/gen/directory.3  Mon May 17 03:09:06 2010 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: directory.3,v 1.33 2010/05/17 03:04:09 jruoho Exp $
+.\"    $NetBSD: directory.3,v 1.34 2010/05/17 03:09:06 jruoho Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -361,15 +361,7 @@
 .\"
 .\" XXX: The errors should be enumerated.
 .\"
-Upon failure, the functions
-.Fn opendir ,
-.Fn fdopendir ,
-.Fn readdir ,
-.Fn readdir_r ,
-.Fn closedir ,
-and
-.Fn dirfd
-may set
+All described functions may set
 .Vt errno
 to indicate the error.
 .Sh SEE ALSO



Home | Main Index | Thread Index | Old Index