(C) 1998 AROS - The Amiga Research OS


NAME
#include <stdio.h>

int ferror ()

SYNOPSIS
FILE * stream

FUNCTION
Test the error flag of a stream. This flag is set automatically by any function that detects an error. To clear it, call clearerr().

INPUTS
stream
The stream to be tested.

RESULT
!= 0, if the stream had an error, 0 otherwise.

EXAMPLE

SEE ALSO
ferror(), clearerr()

NOTES

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
17.01.1997 digulla
New functions: fopen(), fclose(), fgets(), ferror(), clearerr(), fread(), fwrite(), getchar(), gets()