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