FERROR(3) Linux Programmer's Manual FERROR(3) NAME clearerr, feof, ferror, fileno - SYNOPSIS #include void clearerr(FILE *stream); int feof(FILE *stream); int ferror(FILE *stream); int fileno(FILE *stream); DESCRIPTION clearerr stream feof tests the end-of-file indicator for the stream pointed to by stream clearerr ferror stream clearerr fileno stream unlocked_stdio(3) ERRORS errno ( fileno -1 errno EBADF ) CONFORMING TO clearerr, feof, ferror X3.159-1989 (``ANSI C'') SEE ALSO open(2), unlocked_stdio(3), stdio(3) man man https://github.com/man-pages-zh/manpages- zh 2001-10-16 FERROR(3)