home *** CD-ROM | disk | FTP | other *** search
- @node feof, stdio
- @subheading Syntax
-
- @example
- #include <stdio.h>
-
- int feof(FILE *file);
- @end example
-
- @subheading Description
-
- This function can be used to indicate if the given @var{file} is at
- the end-of-file or not.
-
- @subheading Return Value
-
- Nonzero at end-of-file, zero otherwise.
-
- @subheading Example
-
- @example
- while (!feof(stdin))
- gets(line);
- @end example
-
-