Annotation of coherent/b/lib/libc/XSTDIO/_finish.c, revision 1.1

1.1     ! root        1: /*
        !             2:  * libc/stdio/_finish.c
        !             3:  * ANSI-compliant C standard i/o library internals.
        !             4:  * _finish()
        !             5:  * Close all files.
        !             6:  * Called from exit().
        !             7:  */
        !             8: 
        !             9: #include <stdio.h>
        !            10: 
        !            11: void
        !            12: _finish()
        !            13: {
        !            14:        register FILE **fpp;
        !            15: 
        !            16:        for (fpp = _fp+_NFILE; --fpp >= _fp; )
        !            17:                if (*fpp != NULL)
        !            18:                        fclose(*fpp);
        !            19: }
        !            20: 
        !            21: /* end of libc/stdio/_finish.c */

unix.superglobalmegacorp.com

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