ferror.3: Add a RETURN VALUE section

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2021-02-07 10:37:44 +01:00
parent 15267cb8a1
commit 5b921fc469
1 changed files with 12 additions and 0 deletions

View File

@ -76,6 +76,18 @@ function.
.PP
For nonlocking counterparts, see
.BR unlocked_stdio (3).
.SH RETURN VALUE
The
.BR feof ()
function returns nonzero if the end-of-file indicator is set for
.IR stream ;
otherwise, it returns zero.
.PP
The
.BR feof ()
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
.IR errno .