xref: /original-bsd/lib/libplot/plot/dot.c (revision 403c148d)
1 /*-
2  * Copyright (c) 1983 The Regents of the University of California.
3  * All rights reserved.
4  *
5  * %sccs.include.proprietary.c%
6  */
7 
8 #ifndef lint
9 static char sccsid[] = "@(#)dot.c	4.2 (Berkeley) 04/22/91";
10 #endif /* not lint */
11 
12 #include <stdio.h>
13 dot(xi,yi,dx,n,pat)
14 int  pat[];
15 {
16 	int i;
17 	putc('d',stdout);
18 	putsi(xi);
19 	putsi(yi);
20 	putsi(dx);
21 	putsi(n);
22 	for(i=0; i<n; i++)putsi(pat[i]);
23 }
24