diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2021-02-07 10:37:44 +0100 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2021-02-07 11:01:14 +0100 |
| commit | 5b921fc469049c4bc2002e512a0f1d15d8603d3d (patch) | |
| tree | 1e81dabb59fea26a730761722417d3b3ed0ffe1c | |
| parent | 15267cb8a11c0a40d03740128a67d40e03873836 (diff) | |
| download | man-pages-5b921fc469049c4bc2002e512a0f1d15d8603d3d.tar.gz | |
ferror.3: Add a RETURN VALUE section
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
| -rw-r--r-- | man3/ferror.3 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/man3/ferror.3 b/man3/ferror.3 index 2674413abb..9f1d4264e6 100644 --- a/man3/ferror.3 +++ b/man3/ferror.3 @@ -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 . |
