| www.delorie.com/djgpp/doc/libc-2.01/libc_261.html | search |
#include <stdio.h> int ferror(FILE *file);
This function can be used to indicate if the given file has encountered an error or not. See section clearerr.
Nonzero for an error, zero otherwize.
if (ferror(stdin)) exit(1);
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |