Init
This commit is contained in:
13
usr.lib/libplot/vt0/move.c
Normal file
13
usr.lib/libplot/vt0/move.c
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef lint
|
||||
static char sccsid[] = "@(#)move.c 1.1 94/10/31 SMI"; /* from UCB 4.1 6/27/83 */
|
||||
#endif
|
||||
|
||||
extern vti;
|
||||
extern xnow,ynow;
|
||||
move(xi,yi){
|
||||
struct {char pad,c; int x,y;} p;
|
||||
p.c = 9;
|
||||
p.x = xnow = xsc(xi);
|
||||
p.y = ynow = ysc(yi);
|
||||
write(vti,&p.c,5);
|
||||
}
|
||||
Reference in New Issue
Block a user