Annotation of researchv10no/cmd/mk/export/fio/fioclose.c, revision 1.1

1.1     ! root        1: #define        FIO_IMP
        !             2: #include       "fio.h"
        !             3: #include       <libc.h>
        !             4: 
        !             5: void
        !             6: Fclose(fd)
        !             7: {
        !             8:        register Fbuffer *f;
        !             9: 
        !            10:        FIOSET(f, fd);
        !            11:        Fflush(fd);
        !            12:        if(f->flags&FIO_MALLOCED)
        !            13:                free((char *)f);
        !            14:        Ffb[fd] = 0;
        !            15:        close(fd);
        !            16: }

unix.superglobalmegacorp.com

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