fgetc()

#include <stdio.h>

int fgetc( FILE* file_pointer );

This function returns the next character from the file referenced by file_pointer. Returns EOF if end of file is reached or error occurs.

See also getchar().


Back to Essential C Functions.

Log in or register to write something here or to contact authors.