Annotation of researchv8dc/cmd/inet/libin/in_subrs.c, revision 1.1

1.1     ! root        1: #include <ctype.h>
        !             2: 
        !             3: /* Get the next token in a string, returning a pointer the the byte
        !             4:  * following the token.
        !             5:  */
        !             6: char *
        !             7: in_getw(buf, w)
        !             8: char *buf, *w;
        !             9: {
        !            10:        *w = 0;
        !            11:        while(isspace(*buf)) buf++;
        !            12:        if(*buf == '\0')
        !            13:                return(0);
        !            14:        while(!isspace(*buf) && *buf)
        !            15:                *w++ = *buf++;
        !            16:        *w++ = 0;
        !            17:        return(buf);
        !            18: }
        !            19: 

unix.superglobalmegacorp.com

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