Table of Contents        Previous topic       Next topic       

C LIBRARY FUNCTIONS->Detailed Descriptions->getch()


#include <conio.h>

int getch(void);    Read a character from console


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 UART Code Creation Wizards can automatically create the getch() function for you and insert it into your source code.

Return Value

The return value is the value retrieved.