C++ Programming/Code/Standard C Library/Functions/feof

From Wikibooks, open books for an open world
Jump to navigation Jump to search

feof[edit | edit source]

Syntax
#include <cstdio>
int feof( FILE *stream );

The function feof() returns TRUE if the end-of-file was reached, or FALSE otherwise.

Related topics
clearerr - ferror - getc - perror - putc