Annotation of 43BSDTahoe/usr.lib/libplot/tf77/linemd.c, revision 1.1.1.1

1.1       root        1: /*
                      2:  * Copyright (c) 1980 Regents of the University of California.
                      3:  * All rights reserved.  The Berkeley software License Agreement
                      4:  * specifies the terms and conditions for redistribution.
                      5:  */
                      6: 
                      7: #ifndef lint
                      8: static char sccsid[] = "@(#)linemd.c   5.1 (Berkeley) 6/7/85";
                      9: #endif not lint
                     10: 
                     11: linemd_(s, len)
                     12: register char *s;
                     13: long len;
                     14: {
                     15:        char buf[256];
                     16:        register char *cp, *cend;
                     17: 
                     18:        cp = buf;
                     19:        cend = cp + (len < 255 ? len : 255 );
                     20:        while ( cp < cend  && *s != ' ') 
                     21:                *cp++ = *s++;
                     22:        *cp = 0;
                     23:        linemod( buf );
                     24: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.