Table of Contents Previous topic Next topic
C COMPILER LIBRARY FUNCTION REFERENCE->Detailed Descriptions->getch()
Summary
#include <conio.h>
int getch(void); Read a character from console
Description
This function gets a character from the console. The routine is implementation specific and will need to be created to suit your target system. The version included in the library reads characters from the 8051 serial port. See Console I/O which describes the use of this specific implementation.
Return Value
The return value is the character read. There is no error return.