Controls checking for typeahead.
#include <curses.h> int typeahead (int fildes);
The typeahead subroutine controls the detection of typeahead during a refresh, based on the value of fildes:
fildes |
Upon successful completion, the typeahead subroutine returns OK. Otherwise, it returns ERR.
To turn typeahead checking on, enter:
typeahead(1);
This subroutine is part of Base Operating System (BOS) Runtime.
The doupdate (doupdate, refresh, wnoutrefresh, or wrefresh Subroutines), getch (getch, mvgetch, mvwgetch, or wgetch Subroutine), and initscr (initscr and newterm Subroutine) subroutines.
Curses Overview for Programming in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.
List of Curses Subroutines in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.
Setting Video Attributes and Curses Options in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.