1: #ifndef lint 2: static char sccsid[] = "@(#)dot.c 4.1 (Berkeley) 6/27/83"; 3: #endif 4: 5: extern vti; 6: dot(xi,yi,dx,n,pat) 7: int pat[]; 8: { 9: struct {char pad,c; int xi,yi,dx;} p; 10: p.c = 7; 11: p.xi = xsc(xi); 12: p.yi = ysc(yi); 13: p.dx = xsc(dx); 14: write(vti,&p.c,7); 15: write(vti,pat,n?n&0377:256); 16: }