(ANSI Standard)
#include <stdio.h> i = fgetc( f );
"fgetc" returns the next character from the input stream pointed to by "f". It differs from "getc" in that "getc" may be implemented as a macro while "fgetc" is always implemented as a function.
"fgetc" returns EOF when end-of-file is reached or upon a read error. If the given file pointer does not refer to a valid open file, the program will terminate with a fault.
Copyright © 1996, Thinkage Ltd.