HPlogo HP-UX Reference Volume 4 of 5 > g

getyx(3X)

CURSES
» 

Technical documentation

Complete book in PDF

 » 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.

© Hewlett-Packard Development Company, L.P.