HPlogo HP-UX Reference > G

getyx(3X)

CURSES
HP-UX 11i Version 2: December 2007 Update
» 

Technical documentation

 » Table of Contents

 » Index

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.