Guardian Native C Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
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 and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL
32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll
64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll
SYNOPSIS
#include <stdio.h>
int feof(
FILE *stream);
PARAMETERS
stream Specifies the input stream.
DESCRIPTION
The feof() function test the EOF (End-of-File) condition on the specified stream.
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.
ERRORS
No error is returned. The feof() function does not set errno.
RELATED INFORMATION
Functions: ferror(3), fileno(3), clearerr(3), fopen(3).
527192-018 Hewlett-Packard Company 2−19