-
Functions HI-TECH C GETCH
From HI-TECH C for CP/M Fan WIKI(EN)
GETCH, GETCHE, UNGETCH, PUTCH
SYNOPSIS
#include <conio.h> char getch(void) char getche(void) void putch(int c)
DESCRIPTION
Getch() reads a single character from the console keyboard and returns it without echoing. Getche() is similar but does echo the character typed. Ungetch() will push back one character such that the next call to getch() or getche() will return that character. Putch() outputs the character c to the console screen, prepending a carriage return if the character is a newline.
SEE ALSO
cgets, cputs