HPlogo HP-UX Reference Volume 4 of 5 > m

move(3X)

CURSES
» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

NAME

move, wmove — window cursor location functions

SYNOPSIS

#include <curses.h>

int move(int y, int x);

int wmove(WINDOW *win, int y, int x);

DESCRIPTION

The move() and wmove() functions move the cursor associated with the current or specified window to (y, x) relative to the window's origin. This function does not move the terminal's cursor until the next refresh operation.

RETURN VALUE

Upon successful completion, these functions return OK. Otherwise, they return ERR.

ERRORS

No errors are defined.

SEE ALSO

doupdate(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.