move(3curses)


move -- window cursor location functions

Synopsis

cc [options] file -lcurses
#include <curses.h>

int move(int y, int x);

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

Description

The move(3curses) and wmove(3curses) 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.

Standards Conformance

The Single UNIX Specification, Version 2; The Open Group.

References

doupdate(3curses), curses(4)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004