...
Non-zero value, if error indicator is set.
Notes/Warnings
The return value from this function should ALWAYS be tested against 0:
- If the error indicator is set (i.e.,
fs_ferror()
returns a non-zero value),fs_clearerr()
can be used to clear that indicator.