xref: /original-bsd/lib/libplot/plot/line.c (revision 13b2c6e0)
15de631f4Sbostic /*-
2*13b2c6e0Sbostic  * Copyright (c) 1983, 1993
3*13b2c6e0Sbostic  *	The Regents of the University of California.  All rights reserved.
45de631f4Sbostic  *
55de631f4Sbostic  * %sccs.include.proprietary.c%
65de631f4Sbostic  */
75de631f4Sbostic 
8d277a8deSsam #ifndef lint
9*13b2c6e0Sbostic static char sccsid[] = "@(#)line.c	8.1 (Berkeley) 06/04/93";
105de631f4Sbostic #endif /* not lint */
11d277a8deSsam 
12d277a8deSsam #include <stdio.h>
line(x0,y0,x1,y1)13d277a8deSsam line(x0,y0,x1,y1){
14d277a8deSsam 	putc('l',stdout);
15d277a8deSsam 	putsi(x0);
16d277a8deSsam 	putsi(y0);
17d277a8deSsam 	putsi(x1);
18d277a8deSsam 	putsi(y1);
19d277a8deSsam }
20