HP-UX Reference (11i v2 07/12) - 3 Library Functions A-M (vol 6)

m
mvwin(3X) mvwin(3X)
(CURSES)
NAME
mvwin() - move window
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 win-
dow 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().
SEE ALSO
derwin(3X), doupdate(3X), is_linetouched(3X), <curses.h>.
CHANGE HISTORY
First released in X/Open Curses, Issue 2.
X/Open Curses, Issue 4
The entry is rewritten for clarity.
750 Hewlett-Packard Company 1 HP-UX 11i Version 2: December 2007 Update