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