unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (HP-UX-11.11)
Page:
Section:
Apropos / Subsearch:
optional field



 getbegyx(3X)							getbegyx(3X)
			       ENHANCED CURSES



 NAME
      getbegyx, getmaxyx, getparyx - get additional cursor and window
      coordinates

 SYNOPSIS
      #include <&lt&lt&lt;curses.h>&gt&gt&gt;

      void getbegyx(WINDOW *win, int y, int x);

      void getmaxyx(WINDOW *win, int y, int x);

      void getparyx(WINDOW *win, int y, int x);

 DESCRIPTION
      The getbegyx() macro stores the absolute screen coordinates of the
      specified window's origin in y and x.

      The getmaxyx() macro stores the number of rows of the specified window
      in y and stores the window's number of columns in x.

      The getparyx() macro, if the specified window is a subwindow, stores
      in y and x the coordinates of the window's origin relative to its
      parent window.  Otherwise, -1 is stored in y and x.

 RETURN VALUE
      No return values are defined.

 ERRORS
      No errors are defined.

 APPLICATION USAGE
      These interfaces are macros and `&' cannot be used before the y and x
      arguments.

 SEE ALSO
      getyx(3X), <curses.h>.

 CHANGE HISTORY
      First released in X/Open Curses, Issue 4.















 Hewlett-Packard Company	    - 1 -   HP-UX Release 11i: November 2000