Annotation of researchv10no/cmd/spitbol/cint/dosys.c, revision 1.1.1.1

1.1       root        1: 
                      2: /*
                      3:        dosys does a "system" function call with the string in
                      4:        in the passed scblk.
                      5: */
                      6: 
                      7: #include "spitblks.h"
                      8: 
                      9: dosys( scbptr )
                     10: 
                     11: struct scblk   *scbptr;
                     12: 
                     13: {
                     14:        int     l,savchr;
                     15:        char    *cp;
                     16: 
                     17:        l       = scbptr -> len;
                     18:        cp      = scbptr->str;
                     19: 
                     20:        savchr  = cp[l];
                     21:        cp[l]   = 0;
                     22:        system( cp );
                     23:        cp[l]   = savchr;
                     24: }
                     25: 

unix.superglobalmegacorp.com

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