#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, POSIX
while (!feof(stdin)) gets(line);
Go to the first, previous, next, last section, table of contents.