This version handles out-of-band data, abort output, and
[unix-history] / usr / src / lib / libplot / f77plot / linemd.c
/*
* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*/
#ifndef lint
static char sccsid[] = "@(#)linemd.c 5.1 (Berkeley) %G%";
#endif not lint
linemd_(s, len)
register char *s;
long len;
{
char buf[256];
register char *cp, *cend;
cp = buf;
cend = cp + (len < 255 ? len : 255 );
while ( cp < cend && *s != ' ')
*cp++ = *s++;
*cp = 0;
linemod( buf );
}