#include <stdio.h>
ferror(stream) FILE *stream;
feof(stream) FILE *stream;
clearerr(stream) FILE *stream;
fileno(stream) FILE *stream;
ferror() returns non-zero when an error has occurred reading from or writing to the named stream, otherwise zero. Unless cleared by clearerr(), the error indication lasts until the stream is closed.
feof() returns non-zero when EOF has previously been detected reading the named input stream, otherwise zero. Unless cleared by clearerr(), the EOF indication lasts until the stream is closed.
clearerr() resets the error indication and EOF indication to zero on the named stream.
fileno() returns the integer file descriptor associated with the stream (see open.2v
Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97