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

 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 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().

 SEE ALSO

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 ]