1: # include   "curses.ext"
   2: 
   3: /*
   4:  *	This routine moves the cursor to the given point
   5:  *
   6:  * @(#)move.c	1.1 (Berkeley) 3/27/83
   7:  */
   8: wmove(win, y, x)
   9: reg WINDOW  *win;
  10: reg int     y, x; {
  11: 
  12: # ifdef DEBUG
  13:     fprintf(outf, "MOVE to (%d, %d)\n", y, x);
  14: # endif
  15:     if (x >= win->_maxx || y >= win->_maxy)
  16:         return ERR;
  17:     win->_curx = x;
  18:     win->_cury = y;
  19:     return OK;
  20: }

Defined functions

Last modified: 1983-05-18
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 603
Valid CSS Valid XHTML 1.0 Strict