Module Name: src
Committed By: jruoho
Date: Thu May 6 09:18:06 UTC 2010
Modified Files:
src/lib/libc/stdio: ferror.3
Log Message:
Note that EBADF is optional for fileno() in POSIX.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/lib/libc/stdio/ferror.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/stdio/ferror.3
diff -u src/lib/libc/stdio/ferror.3:1.12 src/lib/libc/stdio/ferror.3:1.13
--- src/lib/libc/stdio/ferror.3:1.12 Thu May 6 08:14:08 2010
+++ src/lib/libc/stdio/ferror.3 Thu May 6 09:18:06 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: ferror.3,v 1.12 2010/05/06 08:14:08 jruoho Exp $
+.\" $NetBSD: ferror.3,v 1.13 2010/05/06 09:18:06 jruoho Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -98,9 +98,9 @@
is not associated with a valid file descriptor.
(In such case the
.Nx
-implementation, contrary to the
+implementation does not follow the optional
.Tn POSIX
-standard, does not set
+recommendation and set the
.Va errno
to
.Er EBADF . )