feof(3) — Subroutines
NAME
feof − Tests EOF on a stream
LIBRARY
Standard C Library (libc.a)
SYNOPSIS
#include <stdio.h>
int feof(
FILE ∗stream);
PARAMETERS
streamSpecifies the input stream.
DESCRIPTION
The feof() macro tests the EOF (End-of-File) condition on the specified stream.
NOTES
AES Support Level:
Full use.
RETURN VALUES
If EOF has previously been detected reading the input stream specified by the stream parameter, a nonzero value is returned. Otherwise, a value of 0 (zero) is returned.
RELATED INFORMATION
Functions: ferror(3), fileno(3), clearerr(3), fopen(3).