ncurses_getmaxyx

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

ncurses_getmaxyxReturns the size of a window

설명

void ncurses_getmaxyx ( resource $window , int &$y , int &$x )
Warning

이 함수는 실험적입니다. 이 함수의 작동, 함수의 이름, 그리고 관련된 모든 문서는 이후의 PHP 릴리즈에서 예고 없이 변경할 수 있습니다. 이 함수의 사용에 관한 것은 사용자 책임입니다.

Gets the horizontal and vertical size of the given window into the given variables.

Variables must be passed as reference, so they are updated when the user changes the terminal size.

인수

window

The measured window

y

This will be set to the window height

x

This will be set to the window width

반환값

값을 반환하지 않습니다.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top