19 lines
470 B
C
Executable File
19 lines
470 B
C
Executable File
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
|
|
/* All Rights Reserved */
|
|
|
|
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
|
|
/* The copyright notice above does not evidence any */
|
|
/* actual or intended publication of such source code. */
|
|
|
|
#ident "@(#)move.c 1.5 92/07/14 SMI" /* SVr4.0 1.2 */
|
|
|
|
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);
|
|
}
|