Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

getchar - get byte from standard input stream

&pagelevel(4)&pagelevel

Syntax

#include <stdio.h>

int getchar(void);

Description

The function call getchar(void) is equivalent to getc(stdin), i.e. getchar() reads1 byte from the standard input stream.

Return val.

See fgetc().

Errors

See fgetc().

Notes

See fgetc().

See also   fgetc(), getc(), stdio.h.