fgetc

fgetc, getc

Defined in header <stdio.h>
int fgetc( FILE *stream );
int getc( FILE *stream );

Reads the next character from the given input stream. getc() may be implemented as a macro.

Parameters

stream - to read the character from

Return value

The obtained character on success or EOF on fa