HP-UX Reference (11i v3 07/02) - 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.
HP-UX 11i Version 3: February 2007 1 Hewlett-Packard Company 591