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(), <curses.h>.
CHANGE HISTORY
First released in X/Open Curses, Issue 2.
X/Open Curses, Issue 4
The entry is rewritten for clarity.
Hewlett-Packard Company — HP-UX Release 10.20: July 1996