typeahead(3curses)


typeahead -- control checking for typeahead

Synopsis

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

int typeahead(int fildes);

Description

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

Return value

Upon successful completion, typeahead(3curses) 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(3curses), getch(3curses), initscr(3curses), curses(4), termio(7)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004