From: Sam Leffler Date: Tue, 28 Jun 1983 05:26:10 +0000 (-0800) Subject: date and time created 83/06/27 14:26:10 by sam X-Git-Tag: BSD-4_2-Snapshot-Development~1245 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/20089ab874cb208708a40ef120ecd4dd71d94f0f date and time created 83/06/27 14:26:10 by sam SCCS-vsn: lib/libplot/vt0/dot.c 4.1 --- diff --git a/usr/src/lib/libplot/vt0/dot.c b/usr/src/lib/libplot/vt0/dot.c new file mode 100644 index 0000000000..5642c5d661 --- /dev/null +++ b/usr/src/lib/libplot/vt0/dot.c @@ -0,0 +1,16 @@ +#ifndef lint +static char sccsid[] = "@(#)dot.c 4.1 (Berkeley) %G%"; +#endif + +extern vti; +dot(xi,yi,dx,n,pat) +int pat[]; +{ + struct {char pad,c; int xi,yi,dx;} p; + p.c = 7; + p.xi = xsc(xi); + p.yi = ysc(yi); + p.dx = xsc(dx); + write(vti,&p.c,7); + write(vti,pat,n?n&0377:256); +}