|
|
1.1 ! root 1: # include "curses.ext" ! 2: /* @(#) mvwin.c: 1.1 10/15/83 (1.2 4/7/82) */ ! 3: ! 4: /* ! 5: * relocate the starting position of a _window ! 6: * ! 7: * 1/26/81 (Berkeley) @(#)mvwin.c 1.1 ! 8: */ ! 9: ! 10: mvwin(win, by, bx) ! 11: reg WINDOW *win; ! 12: reg int by, bx; { ! 13: ! 14: if (by + win->_maxy > LINES || bx + win->_maxx > COLS) ! 15: return ERR; ! 16: win->_begy = by; ! 17: win->_begx = bx; ! 18: touchwin(win); ! 19: return OK; ! 20: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.