1: /*
2: * Copyright (c) 1980 Regents of the University of California.
3: * All rights reserved. The Berkeley software License Agreement
4: * specifies the terms and conditions for redistribution.
5: */
6:
7: #ifndef lint
8: static char sccsid[] = "@(#)move.c 5.2 (Berkeley) 10/8/85";
9: #endif not lint
10:
11: # include "curses.ext"
12:
13: /*
14: * This routine moves the cursor to the given point
15: *
16: */
17: wmove(win, y, x)
18: reg WINDOW *win;
19: reg int y, x; {
20:
21: # ifdef DEBUG
22: fprintf(outf, "MOVE to (%d, %d)\n", y, x);
23: # endif
24: if (x < 0 || y < 0)
25: return ERR;
26: if (x >= win->_maxx || y >= win->_maxy)
27: return ERR;
28: win->_curx = x;
29: win->_cury = y;
30: return OK;
31: }
Defined functions
wmove
defined in line
17; used 112 times
- in /usr/include/curses.h line
102,
119-125(7)
- in /usr/src/games/cribbage/io.c line
392,
408,
453
- in /usr/src/games/mille/comp.c line
21
- in /usr/src/games/mille/init.c line
108-112(3)
- in /usr/src/games/sail/pl_5.c line
202-217(4)
- in /usr/src/games/sail/pl_7.c line
49,
76,
129,
233-236(2),
247,
254-259(2),
275,
305-315(3),
322,
332,
385-387(2)
- in /usr/src/games/worm.c line
82,
131,
159,
210,
217
- in /usr/src/new/mh/uip/vmh.c line
235,
502,
666,
739,
806,
844,
927,
948
- in /usr/src/old/talk/display.c line
54-57(2),
84-87(2),
93,
134-136(2),
150,
157-161(3)
- in /usr/src/old/talk/init_disp.c line
109
- in /usr/src/old/talk/io.c line
99,
114
- in /usr/src/ucb/systat/iostat.c line
125,
230-232(2),
240-242(2),
271-276(3),
295
- in /usr/src/ucb/systat/main.c line
178
- in /usr/src/ucb/systat/mbufs.c line
37,
80,
94
- in /usr/src/ucb/systat/netstat.c line
236,
260,
288-293(2),
310-311(2)
- in /usr/src/ucb/systat/pigs.c line
135-145(3),
240
- in /usr/src/ucb/systat/swap.c line
114
- in /usr/src/ucb/talk/display.c line
54-57(2),
84-87(2),
93,
134-136(2),
150,
157-161(3)
- in /usr/src/ucb/talk/init_disp.c line
109
- in /usr/src/ucb/talk/io.c line
99,
114
- in /usr/src/usr.lib/libcurses/curses.h line
102,
119-125(7)
- in /usr/src/usr.lib/libcurses/mvprintw.c line
33
- in /usr/src/usr.lib/libcurses/mvscanw.c line
33
- in /usr/src/usr.lib/libcurses/scroll.c line
30-32(2)
Defined variables
sccsid
defined in line
8;
never used