(C) 1998 AROS - The Amiga Research OS


NAME
#include <stdio.h>

int feof ()

SYNOPSIS
FILE * stream

FUNCTION
Test the EOF-Flag of a stream. This flag is set automatically by any function which recognises EOF. To clear it, call clearerr().

INPUTS
stream
The stream to be tested.

RESULT
!= 0, if the stream is at the end of the file, 0 otherwise.

EXAMPLE

SEE ALSO
ferror(), clearerr()

NOTES

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
11.12.1996 aros
Added headers
10.12.1996 aros
New functions