xref: /original-bsd/lib/libplot/f77plot/label.c (revision 6219b5e8)
1 #ifndef lint
2 static char sccsid[] = "@(#)label.c	1.1 (Berkeley) 01/02/85";
3 #endif
4 label_(s, len)
5 register char *s;
6 long len;
7 {
8 	char buf[260];
9 	register char *cp, *cend;
10 
11 	cp = buf;
12 	cend = cp + (len < 255 ? len : 255 );
13 	while ( cp < cend )
14 		*cp++ = *s++;
15 	*cp = 0;
16 	label( buf );
17 }
18