DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

curs_move(S-osr5)


curs_move: move, wmove -- move curses window cursor

Syntax

cc ... -lcurses

#include <curses.h>

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

Description

With these routines, the cursor associated with the window is moved to line y and column x. This routine does not move the physical cursor of the terminal until refresh(S-osr5) is called. The position specified is relative to the upper left-hand corner of the window, which is (0,0).

Return values

These routines return the integer ERR on failure and an integer value other than ERR on successful completion.

Warning

The header file curses.h automatically includes the header files stdio.h and unctrl.h.

move(S-osr5) can be a macro.

Files


/usr/lib/libcurses.a
the library

See also

curses(S-osr5), curs_refresh(S-osr5)

Standards conformance

move(S-osr5) and wmove(S-osr5) are not part of any currently supported standard; they were developed by UNIX System Laboratories, Inc. and are maintained by The SCO Group.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005