| Home
| Previous
| Next
| Up

PM_getch

Wait for and return the next keypress.

Declaration

int PMAPI PM_getch(void)

Prototype In

pmapi.h

Return Value

ASCII code for the key that was pressed

Description

This function waits for and returns the next keypress, and returns the ASCII code of the key that was pressed. This function is valid only for operating systems that support running in console modes (DOS, Linux, OS/2 etc).

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com