C in a Nutshell by Peter Prinz & Tony Crawford

C in a Nutshell by Peter Prinz & Tony Crawford

Author:Peter Prinz & Tony Crawford [Peter Prinz and Tony Crawford]
Language: eng
Format: epub, mobi, pdf
Tags: COMPUTERS / Programming Languages / C
ISBN: 9780596159634
Publisher: O'Reilly Media
Published: 2008-12-16T16:00:00+00:00


See Also

fegetenv(), fesetenv(), feupdateenv(), feclearexcept(), feraisexcept(), fegetexceptflag(), fesetexceptflag(), fetestexcept()

Name

feof

Synopsis

Tests whether the file position is at the end

#include <stdio.h> intfeof( FILE *fp );

The feof() macro tests whether the file position indicator of a given file is at the end of the file.

The feof() macro's argument is a FILE pointer. One attribute of the file or stream referenced by this pointer is the end-of-file flag, which indicates that the program has attempted to read past the end of the file. The feof() macro tests the end-of-file flag and returns a nonzero value if the flag is set. If not, feof() returns 0.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.