delorie.com/djgpp/doc/libc/libc_314.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#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.
ANSI/ISO C | C89; C99 |
POSIX | 1003.2-1992; 1003.1-2001 |
if (ferror(stdin)) exit(1); |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |