delorie.com/djgpp/doc/libc/libc_313.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <stdio.h> int feof(FILE *file); |
This function can be used to indicate if the given file is at the end-of-file or not.
Nonzero at end-of-file, zero otherwise.
ANSI/ISO C | C89; C99 |
POSIX | 1003.2-1992; 1003.1-2001 |
while (!feof(stdin)) gets(line); |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |