The function ferror tests a data stream for read or write errors. The parameter stream is a pointer defining the data stream. If an error has occurred, the error indicator remains set until the file is closed or rewound. The function is included in the library RL-FlashFS. The prototype is defined in the file stdio.h. |