Ncurses 函数
PHP 手册

ncurses_instr

(PHP 4 >= 4.2.0, PHP 5, PECL ncurses >= 1.0.0)

ncurses_instrReads string from terminal screen

说明

int ncurses_instr ( string &$buffer )
Warning

本函数是实验性的。本函数的行为,包括函数名称以及其它任何关于本函数的文档可能会在没有通知的情况下随 PHP 以后的发布而改变。使用本函数风险自担。

Reads a string from the terminal screen and returns the number of characters read from the current character position until end of line.

参数

buffer

The characters. Attributes will be stripped.

返回值

Returns the number of characters.


Ncurses 函数
PHP 手册