7.19.10.2 The feof function

Synopsis

1

#include <stdio.h>
int feof(FILE *stream);

Description

2

The feof function tests the end-of-file indicator for the stream pointed to by stream.

Returns

3

The feof function returns nonzero if and only if the end-of-file indicator is set for stream.