148506Sbostic /*- 2*61376Sbostic * Copyright (c) 1980, 1993 3*61376Sbostic * The Regents of the University of California. All rights reserved. 448506Sbostic * 548506Sbostic * %sccs.include.proprietary.c% 622637Sdist */ 722637Sdist 817635Sjak #ifndef lint 9*61376Sbostic static char sccsid[] = "@(#)linemd.c 8.1 (Berkeley) 06/04/93"; 1048506Sbostic #endif /* not lint */ 1122637Sdist linemd_(s,len)1217635Sjaklinemd_(s, len) 1317635Sjak register char *s; 1417635Sjak long len; 1517635Sjak { 1617635Sjak char buf[256]; 1717635Sjak register char *cp, *cend; 1817635Sjak 1917635Sjak cp = buf; 2017635Sjak cend = cp + (len < 255 ? len : 255 ); 2117635Sjak while ( cp < cend && *s != ' ') 2217635Sjak *cp++ = *s++; 2317635Sjak *cp = 0; 2417635Sjak linemod( buf ); 2517635Sjak } 26