Module Name: src
Committed By: jruoho
Date: Mon May 17 03:09:06 UTC 2010
Modified Files:
src/lib/libc/gen: directory.3
Log Message:
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).
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/lib/libc/gen/directory.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/gen/directory.3
diff -u src/lib/libc/gen/directory.3:1.33 src/lib/libc/gen/directory.3:1.34
--- src/lib/libc/gen/directory.3:1.33 Mon May 17 03:04:09 2010
+++ src/lib/libc/gen/directory.3 Mon May 17 03:09:06 2010
@@ -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