Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/stdio Note that EBADF is optional for fileno() in P...



details:   https://anonhg.NetBSD.org/src/rev/8d6e8051d647
branches:  trunk
changeset: 754615:8d6e8051d647
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Thu May 06 09:18:06 2010 +0000

description:
Note that EBADF is optional for fileno() in POSIX.

diffstat:

 lib/libc/stdio/ferror.3 |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 7c0e44c2433b -r 8d6e8051d647 lib/libc/stdio/ferror.3
--- a/lib/libc/stdio/ferror.3   Thu May 06 09:01:34 2010 +0000
+++ b/lib/libc/stdio/ferror.3   Thu May 06 09:18:06 2010 +0000
@@ -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 . )



Home | Main Index | Thread Index | Old Index