Back to index

tetex-bin  3.0
Functions
lib_move.c File Reference
#include <curses.priv.h>

Go to the source code of this file.

Functions

 wmove (WINDOW *win, int y, int x)

Function Documentation

wmove ( WINDOW win,
int  y,
int  x 
)

Definition at line 46 of file lib_move.c.

{
    T((T_CALLED("wmove(%p,%d,%d)"), win, y, x));

    if (win &&
       x >= 0 && x <= win->_maxx &&
       y >= 0 && y <= win->_maxy) {
       win->_curx = (NCURSES_SIZE_T) x;
       win->_cury = (NCURSES_SIZE_T) y;

       win->_flags &= ~_WRAPPED;
       win->_flags |= _HASMOVED;
       returnCode(OK);
    } else
       returnCode(ERR);
}

Here is the caller graph for this function: