FERROR(3) Library Functions Manual FERROR(3)

ferrortest error indicator on a stream

#include <stdio.h>

int ferror(FILE *stream);

The ferror() function tests the error indicator for the stream pointed to by stream .

The ferror() function returns non-zero if and only if the error indicator is set for stream .

No errors are defined.

None.

None.

None.

clearerr(3) , feof(3) , fopen(3) , <stdio.h> .

Derived from Issue 1 of the SVID.

February 1997 posix.fail