The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group

 NAME

feof - test end-of-file indicator on a stream

 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.

 RETURN VALUE

The feof() function returns non-zero if and only if the end-of-file indicator is set for stream.

 ERRORS

No errors are defined.

 EXAMPLES

None.

 APPLICATION USAGE

None.

 FUTURE DIRECTIONS

None.

 SEE ALSO

clearerr(), ferror(), fopen(), <stdio.h>.

DERIVATION

Derived from Issue 1 of the SVID.

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]