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: #if !defined(lint) && !defined(NOSCCS)
8: static char sccsid[] = "@(#)move.c 5.2 (Berkeley) 10/8/85";
9: #endif
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 127 times
- in /usr/include/curses.h line
102,
119-125(7)
- in /usr/src/games/atc/graphics.c line
43-47(4),
59,
101-111(4),
129,
136,
142-144(2),
151-156(2),
164,
183,
194,
202,
210,
228-231(2),
245,
269-271(2),
287,
293,
312,
339
- in /usr/src/games/cribbage/io.c line
395,
411,
456
- 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/include/curses.h line
102,
119-125(7)
- in /usr/src/ucb/PORT/systat/iostat.c line
125,
230-232(2),
240-242(2),
271-276(3),
295
- in /usr/src/ucb/PORT/systat/main.c line
178
- in /usr/src/ucb/PORT/systat/mbufs.c line
37,
80,
94
- in /usr/src/ucb/PORT/systat/netstat.c line
236,
260,
288-293(2),
310-311(2)
- in /usr/src/ucb/PORT/systat/pigs.c line
135-145(3),
240
- in /usr/src/ucb/PORT/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
96,
111
- 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