#include <stdio.h>
int ferror(FILE *stream);
Implemented
IEEE Std 1003.1-2017
The ferror()
function shall test the error indicator for the stream pointed to by stream.
The ferror()
function shall not change the setting of errno if stream is valid.
The ferror()
function shall return non-zero if and only if the error indicator is set for stream.
No errors are defined.
Tested in test-libc.
None