Key_Stat - HP 68000 Series User Manual

Debugger/simulator
Table of Contents

Advertisement

Chapter 11: Predefined Macros

key_stat

key_stat
Function
Check keyboard for availability of key
Synopsis
unsigned short key_stat()
Description
The key_stat() macro checks the keyboard to see if a key is available to read. It
returns 0 if no key is available. The first pending key is returned if any keys are
available.
Diagnostics
The value -1 is returned if the macro fails.
460

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1466

Table of Contents