Get the end-of-file status
Integer_Type feof (File_Type fp)
This function may be used to determine the state of the end-of-file indicator of the open file descriptor fp. It returns 0 if the indicator is not set, or non-zero if it is. The end-of-file indicator may be cleared by the clearerr function.