int feof

int feof(FILE *__stream)

Test the end-of-file flag of stream. This flag can only be cleared by a call to clearerr().