Annotation of 40BSD/lib/libF77/system_.c, revision 1.1

1.1     ! root        1: /* f77 interface to system routine */
        !             2: 
        !             3: system_(s, n)
        !             4: register char *s;
        !             5: long int n;
        !             6: {
        !             7: char buff[1000];
        !             8: register char *bp, *blast;
        !             9: 
        !            10: blast = buff + (n<1000 ? n : 1000L);
        !            11: 
        !            12: for(bp = buff ; bp<blast && *s!='\0' ; )
        !            13:        *bp++ = *s++;
        !            14: *bp = '\0';
        !            15: system(buff);
        !            16: }

unix.superglobalmegacorp.com

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