feof()

test end-of-file indicator for stream 

Function


SYNOPSIS

#include <stdio.h>

int feof(FILE *stream);


DESCRIPTION

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


PARAMETERS

stream 

Points to FILE structure to test for end of file.


RETURN VALUES

If the end-of-file indicator is set for stream, the feof() function returns non-zero. Otherwise, it returns zero.


CONFORMANCE

ANSI/ISO 9899-1990.


MULTITHREAD SAFETY LEVEL

MT-Safe.


PORTING ISSUES

None.


AVAILABILITY

PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
clearerr(), ferror(), fileno(), fopen(), open(), perror()


PTC MKS Toolkit 10.4 Documentation Build 39.