C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
ferror
 Summary Example                         Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
     The ferror routine (implemented both as a function and as a macro)
     tests for reading or writing errors on the file associated with
     <stream>. If an error has occurred, the error indicator for the
     stream remains set until the stream is closed or rewound, or until
     clearerr is called against it.
 
     Return Value
 
     If no error has occurred on <stream>, ferror returns 0. Otherwise,
     it returns a nonzero value.
                                    -♦-