diff options
| -rw-r--r-- | man3/ferror.3 | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/man3/ferror.3 b/man3/ferror.3 index 9f1d4264e6..c62c35334c 100644 --- a/man3/ferror.3 +++ b/man3/ferror.3 @@ -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), |
