From: Sam Leffler Date: Tue, 28 Jun 1983 05:26:20 +0000 (-0800) Subject: date and time created 83/06/27 14:26:20 by sam X-Git-Tag: BSD-4_2-Snapshot-Development~1237 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/a3babcfbabc18a57553112c0890d96e8f19b157b date and time created 83/06/27 14:26:20 by sam SCCS-vsn: lib/libplot/vt0/point.c 4.1 --- diff --git a/usr/src/lib/libplot/vt0/point.c b/usr/src/lib/libplot/vt0/point.c new file mode 100644 index 0000000000..0da90567c2 --- /dev/null +++ b/usr/src/lib/libplot/vt0/point.c @@ -0,0 +1,13 @@ +#ifndef lint +static char sccsid[] = "@(#)point.c 4.1 (Berkeley) %G%"; +#endif + +extern vti; +extern xnow,ynow; +point(xi,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); +}