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: }

Defined functions

mvwin defined in line 9; never used
Last modified: 1983-05-18
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 552
Valid CSS Valid XHTML 1.0 Strict