int fgetc(FILE* fp);
Reads the next byte from the file stream fp. If the current position was at the end of the file, EOF is returned.
fdopen, fgets