GETCHAR(K) UNIX System V GETCHAR(K)
Name
getchar - gets one character of input
Syntax
int
getchar()
Description
getchar can be used to temporarily halt execution of the
kernel, and get input from a user.
Return Value
getchar returns the character typed at the keyboard.
Example:
debug = getchar();
debug -= '0';
See Also
putchar(K)
(printed 7/6/89)