HP-UX Reference (11i v2 07/12) - 3 Library Functions A-M (vol 6)

g
getyx(3X) getyx(3X)
(CURSES)
NAME
getyx() get cursor and window coordinates
SYNOPSIS
#include <curses.h>
void getyx(WINDOW *win, int y, int x);
DESCRIPTION
The getyx() macro stores the cursor position of the specified window 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
getbegyx(3X), <curses.h>.
CHANGE HISTORY
First released in X/Open Curses, Issue 2.
X/Open Curses, Issue 4
The entry is rewritten for clarity.
566 Hewlett-Packard Company 1 HP-UX 11i Version 2: December 2007 Update