mirror of https://github.com/mkerrisk/man-pages
ferror.3: POSIX.1-2008: these functions won't change 'errno' if 'stream' is valid
See https://www.austingroupbugs.net/view.php?id=401. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
5b921fc469
commit
a23bf7259c
|
@ -1,4 +1,5 @@
|
|||
.\" Copyright (c) 1990, 1991 The Regents of the University of California.
|
||||
.\" and Copyright (C) 2021 Michael Kerrisk <mtk.manpages@gmail.com>
|
||||
.\" All rights reserved.
|
||||
.\"
|
||||
.\" This code is derived from software contributed to Berkeley by
|
||||
|
@ -89,7 +90,7 @@ function returns nonzero if the error indicator is set for
|
|||
.IR stream ;
|
||||
otherwise, it returns zero.
|
||||
.SH ERRORS
|
||||
These functions should not fail and do not set the external variable
|
||||
These functions should not fail and do not set
|
||||
.IR errno .
|
||||
.SH ATTRIBUTES
|
||||
For an explanation of the terms used in this section, see
|
||||
|
@ -117,6 +118,14 @@ The functions
|
|||
and
|
||||
.BR ferror ()
|
||||
conform to C89, C99, POSIX.1-2001, and POSIX.1-2008.
|
||||
.SH NOTES
|
||||
POSIX.1-2008 specifies
|
||||
.\"https://www.austingroupbugs.net/view.php?id=401
|
||||
that these functions shall not change the value of
|
||||
.I errno
|
||||
if
|
||||
.I stream
|
||||
is valid.
|
||||
.SH SEE ALSO
|
||||
.BR open (2),
|
||||
.BR fdopen (3),
|
||||
|
|
Loading…
Reference in New Issue