Error Handling Functions

Top  Previous  Next

clearerr

resets the error and end of file indicators


feof

tests for end-of-file


ferror

returns a non-zero integer if an error occurs during read or write operations


perror

writes (to stderr) the most recent error encountered