Puts the (y,x) coordinates of the current cursor position on win in the variables y and x. Format #include <curses.h> getyx (WINDOW *win, int y, int x);
1 – Arguments
win Must be a pointer to the window. y Must be a valid lvalue. x Must be a valid lvalue.