FEOF(3) Library Functions Manual FEOF(3)

feoftest end-of-file indicator on a stream

#include <stdio.h>

int feof(FILE *stream);

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

The feof() function returns non-zero if and only if the end-of-file indicator is set for stream .

No errors are defined.

None.

None.

None.

clearerr(3) , ferror(3) , fopen(3) , <stdio.h> .

Derived from Issue 1 of the SVID.

February 1997 posix.fail