Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

getyx(3)  —  Subroutines

NAME

getyx − Gets the cursor position

SYNOPSIS

#include <curses.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 ampersand (&) is necessary before the variables. 

RETURN VALUES

No return value is defined for this function. 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026