Table of Contents Previous topic Next topic
C LIBRARY FUNCTIONS->Detailed Descriptions->getchar()
int getchar(void); Read a character from stdin
A single character is read from the standard input - stdin.
getchar() is a macro defined as getc(stdin).
The return value is the character read or EOF if an error occurred.