DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

typeahead(CURSES)


typeahead -- control checking for typeahead

Synopsis

cc [options] file -lcurses
#include <curses.h>

int typeahead(int fildes);

Description

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

Return value

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

Errors

No errors are defined.

Standards Conformance

The Single UNIX Specification, Version 2; The Open Group.

References

``Input Processing'', doupdate(CURSES), getch(CURSES), initscr(CURSES), curses(F), termio(HW)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005