PHP 7.0.6 Released

ncurses_timeout

(PHP 4 >= 4.0.7, PHP 5 < 5.3.0, PECL ncurses >= 1.0.0)

ncurses_timeoutSet timeout for special key sequences

Description

void ncurses_timeout ( int $millisec )
Warning

This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.

Warning

This function is currently not documented; only its argument list is available.

Parameters

millisec

User Contributed Notes

sandwyrm
5 years ago
ncurses_timeout( $value );

$value < 0 -> Block and wait for input indefinitely
$value = 0 -> Non-blocking poll for input
$value > 0 -> Block and wait for input for $value milliseconds
To Top