mvwin(3X) mvwin(3X)
NAME
mvwin - move window
SYNOPSIS
cc [flag ...] file ... -lcurses [library ...]
#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.
NOTES
The application should not move subwindows by calling mvwin().
SEE ALSO
curses(3X), derwin(3X), doupdate(3X), islinetouched(3X), curses(5).
Page 1 Reliant UNIX 5.44 Printed 11/98