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

1.1       root        1: /*
                      2: /   sysen - endfile
                      3: */
                      4: 
                      5: #include "osint.h"
                      6: #include "spitblks.h"
                      7: #include "spitio.h"
                      8: 
                      9: sysen()
                     10: {
                     11:        register struct fcblk *fcb = WA (struct fcblk *);
                     12:        register struct ioblk *iob = fcb->iob;
                     13: 
                     14:        /* ensure the file is open */
                     15:        if ( osopen( iob ) != 0 )
                     16:                return EXIT_1;
                     17: 
                     18:        /* copy fcb chain head */
                     19:        /* rzfcb = r$fcb; */
                     20: 
                     21:        /* now close it */
                     22:        osclose( iob );
                     23: 
                     24:        return NORMAL_RETURN;
                     25: }
                     26: 
                     27: 

unix.superglobalmegacorp.com

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