Tests for a read or write error on a stream.
#include <stdio.h> int ferror (FILE *stream);
stream
If an error occurred, the error indicator for the stream remains set until the stream is closed or rewound, or until clearerr is called. Ferror is implemented as a macro.
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 3.0 | intime/rt/include/stdio.h | stdio.h | clib.lib |