Penguin

NAME

feof - check and reset stream status, in particular, determine if the end is nigh.

SYNOPSIS

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

DESCRIPTION

The function feof(3) tests the end-of-file indicator for the stream pointed to by stream, returning non-zero if it is set. The end-of-file indicator can only be cleared by the function clearerr(3).

ERRORS

These functions should not fail and do not set the external variable errno.

CONFORMING TO

The function feof(3) conforms to X3.159-1989 (``ANSI C'').

SEE ALSO

open(2), stdio(3), ferror(3), clearerr(3), ferror(3)

This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.