1*48506Sbostic /*- 2*48506Sbostic * Copyright (c) 1980 The Regents of the University of California. 3*48506Sbostic * All rights reserved. 4*48506Sbostic * 5*48506Sbostic * %sccs.include.proprietary.c% 622637Sdist */ 722637Sdist 817635Sjak #ifndef lint 9*48506Sbostic static char sccsid[] = "@(#)linemd.c 5.2 (Berkeley) 04/22/91"; 10*48506Sbostic #endif /* not lint */ 1122637Sdist 1217635Sjak linemd_(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