VMS Help
CRTL, fgetc
*Conan The Librarian
|
Returns the next character from a specified file.
Format
#include <stdio.h>
int fgetc (FILE *file_ptr);
file_ptr
A pointer to the file to be accessed.
The fgetc function returns the next character from the specified
file.
Compiling with the __UNIX_PUTC macro defined enables an
optimization that uses a faster, inlined version of this
function.
See also the fgetc_unlocked function and the getc macro.
x The returned character.
EOF Indicates the end-of-file or an error.