mvwin(3curses)


mvwin -- move window

Synopsis

cc [options] file -lcurses
#include <curses.h>

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

Description

The mvwin(3curses) 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(3curses) returns OK. Otherwise, it returns ERR.

Errors

No errors are defined.

Usage

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

Standards Conformance

The Single UNIX Specification, Version 2; The Open Group.

References

derwin(3curses), doupdate(3curses), is_linetouched(3curses), curses(4)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004