Guardian Native C Library Calls Reference Manual (G06.28+, H06.05+)

Guardian Native C Library Calls (f) feof(3)
NAME
feof - Tests EOF on a stream
LIBRARY
G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL
G-series native OSS processes: /G/system/sysnn/zcrtlsrl
H-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL
H-series OSS processes: /G/system/zdllnnn/zcrtldll
SYNOPSIS
#include <stdio.h>
int feof(
FILE *stream);
PARAMETERS
stream Species the input stream.
DESCRIPTION
The feof() function test the EOF (End-of-File) condition on the specied stream.
RETURN VALUES
If EOF has previously been detected reading the input stream specied by the stream parameter,
a nonzero value is returned. Otherwise, a value of 0 (zero) is returned.
ERRORS
No error is returned. The feof() function does not set errno.
RELATED INFORMATION
Functions: ferror(3), leno(3), clearerr(3), fopen(3).
527192-007 Hewlett-Packard Company 29