fgetc

Returns the next character from a stream.

int fgetc (FILE * stream);

Required Header
<stdio.h>

Return Value

This function returns the next character from a stream or EOF if an error or End Of File has been reached.

Parameters

stream

  A pointer to the open FILE structure

Stream I/O Routines

See Also    fputc, _fgetchar, fgets, fread, getc, getchar, gets