manual page distributed with 4.1BSD
[unix-history] / usr / src / lib / libplot / f77plot / linemd.c
CommitLineData
bc164759
JK
1#ifndef lint
2static char sccsid[] = "@(#)linemd.c 1.1 (Berkeley) %G%";
3#endif
4linemd_(s, len)
5register char *s;
6long len;
7{
8 char buf[256];
9 register char *cp, *cend;
10
11 cp = buf;
12 cend = cp + (len < 255 ? len : 255 );
13 while ( cp < cend && *s != ' ')
14 *cp++ = *s++;
15 *cp = 0;
16 linemod( buf );
17}