27 lines
543 B
C
27 lines
543 B
C
/* 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 "$Revision: 1.2 $"
|
|
|
|
#include <unistd.h>
|
|
|
|
extern int xsc(int);
|
|
extern int ysc(int);
|
|
|
|
extern int vti;
|
|
extern int xnow, ynow;
|
|
|
|
void
|
|
point(int xi, int yi)
|
|
{
|
|
struct {char pad,c; int x,y;} p;
|
|
p.c = 2;
|
|
p.x = xnow = xsc(xi);
|
|
p.y = ynow = ysc(yi);
|
|
write(vti,&p.c,5);
|
|
}
|