Annotation of researchv10no/cmd/worm/mapdev.c, revision 1.1

1.1     ! root        1: char *
        !             2: mapdev(s)
        !             3:        char *s;
        !             4: {
        !             5:        static char buf[128];
        !             6: 
        !             7:        if((s[1] == 0) && (*s >= '0') && (*s <= '9')){
        !             8:                sprint(buf, "/dev/worm%c", *s);
        !             9:                s = buf;
        !            10:        }
        !            11:        return(s);
        !            12: }

unix.superglobalmegacorp.com

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