HPlogo MPE/iX Developer's Kit Reference Manual Volume 2: HP 3000 MPE/iX Computer Systems > Chapter 4 CURSES

flushinp

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

The flushinp routine is used to discard type-ahead characters.

Syntax

   #include <curses.h>



   int flushinp();

Return Values

OK

Successful completion.

ERR

An error occurred.

Description

The flushinp() routine discards all type-ahead characters (characters typed by the user, but not yet processed by CURSES).

Implementation Considerations

Identical to XPG/3

Portability

HP-UX, UNIX System V, XPG/3

Feedback to webmaster