The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group


mvwin - move window


#include <curses.h>

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


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.


Upon successful completion, mvwin() returns OK. Otherwise, it returns ERR.


No errors are defined.


The application should not move subwindows by calling mvwin().


derwin(), doupdate(), is_linetouched(), <curses.h>.

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]