Annotation of 41BSD/lib/libcurses/mvwin.c, revision 1.1.1.1

1.1       root        1: # include      "curses.ext"
                      2: 
                      3: /*
                      4:  * relocate the starting position of a window
                      5:  */
                      6: 
                      7: mvwin(win, by, bx)
                      8: reg WINDOW     *win;
                      9: reg int                by, bx; {
                     10: 
                     11:        if (by + win->_maxy > LINES || bx + win->_maxx > COLS)
                     12:                return ERR;
                     13:        win->_begy = by;
                     14:        win->_begx = bx;
                     15:        touchwin(win);
                     16:        return OK;
                     17: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.