SYNOPSIS
#include <curses.h>
int mvwin(WINDOW *win, int y, int x);
DESCRIPTION
The
mvwin()
function moves the specified window so that its origin is at position
(y, x). If the move would cause any portion of the window to
extend past any edge of the screen, the function fails and the window is not
moved.
RETURN VALUE
Upon successful completion,
mvwin()
returns OK. Otherwise, it returns ERR.
ERRORS
No errors are defined.
APPLICATION USAGE
The application should not move subwindows by calling
mvwin().
CHANGE HISTORY
First released in X/Open Curses, Issue 2.
X/Open Curses, Issue 4
The entry is rewritten for clarity.