#include <stdio.h> int getc(FILE *stream);
getc() stream , , . unsigned char, .
getc() EOF. , EOF , feof(). getc() EOF. ferror().
getc() fgetc() , getc() .