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

 NAME

typeahead - control checking for typeahead

 SYNOPSIS



#include <curses.h>

int typeahead(int fildes);

 DESCRIPTION

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

 RETURN VALUE

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

 ERRORS

No errors are defined.

 SEE ALSO

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 ]