


curs_getyx(3X)                                     curs_getyx(3X)


NNAAMMEE
       ccuurrss__ggeettyyxx:  ggeettyyxx,  ggeettppaarryyxx,  ggeettbbeeggyyxx,  ggeettmmaaxxyyxx  - get
       ccuurrsseess cursor and window coordinates

SSYYNNOOPPSSIISS
       ##iinncclluuddee <<ccuurrsseess..hh>>

       vvooiidd ggeettyyxx((WWIINNDDOOWW **wwiinn,, iinntt yy,, iinntt xx));;
       vvooiidd ggeettppaarryyxx((WWIINNDDOOWW **wwiinn,, iinntt yy,, iinntt xx));;
       vvooiidd ggeettbbeeggyyxx((WWIINNDDOOWW **wwiinn,, iinntt yy,, iinntt xx));;
       vvooiidd ggeettmmaaxxyyxx((WWIINNDDOOWW **wwiinn,, iinntt yy,, iinntt xx));;

DDEESSCCRRIIPPTTIIOONN
       The ggeettyyxx macro places the cursor position of  the  window
       in the two integer variables _y and _x.

       If  _w_i_n  is  a  subwindow,  the  ggeettppaarryyxx macro places the
       beginning coordinates of the  subwindow  relative  to  the
       parent  window into two integer variables _y and _x.  Other-
       wise, --11 is placed into _y and _x.

       Like ggeettyyxx, the ggeettbbeeggyyxx and  ggeettmmaaxxyyxx  macros  store  the
       current  beginning  coordinates  and size of the specified
       window.

RREETTUURRNN VVAALLUUEE
       The return values of these  macros  are  undefined  (_i._e.,
       they  should not be used as the right-hand side of assign-
       ment statements).

NNOOTTEESS
       All of these interfaces are macros and  that  "&&"  is  not
       necessary before the variables _y and _x.

PPOORRTTAABBIILLIITTYY
       These  functions are described in the XSI Curses standard,
       Issue 4.

SSEEEE AALLSSOO
       ccuurrsseess(3X)

















                                                                1


