The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group


typeahead - control checking for typeahead


#include <curses.h>

int typeahead(int fildes);


The typeahead() function controls the detection of typeahead during a refresh, based on the value of fildes:


Upon successful completion, typeahead() returns OK. Otherwise, it returns ERR.


No errors are defined.


Input Processing , doupdate(), getch(), initscr(), <curses.h>, XBD specification, Parameters that Can be Set  .

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]