INtime SDK Help
ferror

Tests for a read or write error on a stream.

#include <stdio.h>

int ferror (FILE *stream);

Parameters

stream
Pointer to FILE structure.

Remarks

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.

Return Values

0 (zero).
Success.
Any other value.
Failure.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/stdio.h stdio.h clib.lib

See Also

clearerr, eof, feof, perror