Function fgetc

Top 

Declaration:

int fgetc(unsigned long stream);

Description

Gets character from stream.

fgetc returns the next character on the specified input stream.

Returned Value

On success fgetc returns the character read after converting it to an int without the sign extension. On the end-of-file or error, it returns EOF.