getyx(3cur)
Name
getyx − get cursor position
Syntax
#include <cursesX.h>
int getyx(win, y, x)
WINDOW ∗win;
int y, x;
Description
The cursor coordinates of the window are placed in the two integer variables y and x. This routine is implemented as a macro, so no & is necessary before the variables.
Return Values
No return value is defined for this function.