Namespaces
Variants
Views
Actions

feof

From cppreference.com
< c | io
Defined in header <stdio.h>
int feof( FILE *stream );

Checks if the end of the given file stream has been reached.

Contents

[edit] Parameters

stream - the file stream to check

[edit] Return value

nonzero value if the end of the stream has been reached, otherwise 0

[edit] Example

[edit] See also

clears errors
(function) [edit]
displays a character string corresponding of the current error to stderr
(function) [edit]
checks for a file error
(function) [edit]