xref: /original-bsd/lib/libplot/gigi/label.c (revision 0a83ae40)
1 /*
2  * Copyright (c) 1980 Regents of the University of California.
3  * All rights reserved.  The Berkeley software License Agreement
4  * specifies the terms and conditions for redistribution.
5  */
6 
7 #ifndef lint
8 static char sccsid[] = "@(#)label.c	5.1 (Berkeley) 05/07/85";
9 #endif not lint
10 
11 #include "gigi.h"
12 
13 label(s)
14 char *s;
15 {
16 	printf("T(S0 H2 D0 I0) \"");
17 	for(;*s!='\0';s++) {
18 		putchar(*s);
19 		if (*s == '"') putchar('"');
20 	}
21 	putchar('"');
22 }
23