|
|
#include <stdio.h>int ferror(FILE stream);
int feof(FILE stream);
void clearerr(FILE stream);
int fileno(FILE stream);
feof returns non-zero when EOF
has previously
been detected reading the named input
stream,
otherwise zero.
clearerr resets the error indicator and EOF
indicator to zero on the named
stream.
fileno returns the integer file descriptor associated with the named stream [see open(2)].