Manual Pages for UNIX Darwin command on man getbegyx
MyWebUniversity

Manual Pages for UNIX Darwin command on man getbegyx

cursgetyx(3X) cursgetyx(3X)

NAME

ggeettyyxx, ggeettppaarryyxx, ggeettbbeeggyyxx, ggeettmmaaxxyyxx - get ccuurrsseess cursor and window

coordinates

SYNOPSIS

##iinncclluuddee <>

vvooiidd ggeettyyxx((WWIINNDDOOWW **wwiinn,, iinntt yy,, iinntt xx));; vvooiidd ggeettppaarryyxx((WWIINNDDOOWW **wwiinn,, iinntt yy,, iinntt xx));; vvooiidd ggeettbbeeggyyxx((WWIINNDDOOWW **wwiinn,, iinntt yy,, iinntt xx));; vvooiidd ggeettmmaaxxyyxx((WWIINNDDOOWW **wwiinn,, iinntt yy,, iinntt xx));;

DESCRIPTION

The ggeettyyxx macro places the current cursor position of the given window in the two integer variables y and x.

If win is a subwindow, the ggeettppaarryyxx macro places the beginning coordi-

nates of the subwindow relative to the parent window into two integer

variables y and x. Otherwise, -11 is placed into y and x.

Like ggeettyyxx, the ggeettbbeeggyyxx and ggeettmmaaxxyyxx macros store the current begin-

ning coordinates and size of the specified window. RREETTUURRNN VVAALLUUEE The return values of these macros are undefined (i.e., they should not

be used as the right-hand side of assignment statements).

NNOOTTEESS All of these interfaces are macros. A "&&" is not necessary before the variables y and x. PPOORRTTAABBIILLIITTYY The ggeettyyxx, ggeettppaarryyxx, ggeettbbeeggyyxx and ggeettmmaaxxyyxx functions are described in the XSI Curses standard, Issue 4. This implementation also provides ggeettbbeeggxx, ggeettbbeeggyy, ggeettccuurrxx, ggeettccuurryy,

ggeettmmaaxxxx, ggeettmmaaxxyy, ggeettppaarrxx and ggeettppaarryy for compatibility with older ver-

sions of curses.

SEE ALSO

ccuurrsseess(3X) cursgetyx(3X)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™