Annotation of researchv10no/libcc/getbitmap.c, revision 1.1.1.1

1.1       root        1: #include <jstructs.h>
                      2: #include <stdio.h>
                      3: 
                      4: static FILE *in;
                      5: 
                      6: Bitmap *
                      7: getbitmap(file)
                      8: char *file;
                      9: {
                     10:        int inchar();
                     11:        Bitmap *bp = 0, *inbitmap();
                     12: 
                     13:        if (in = fopen(file, "r")) {
                     14:                bp = inbitmap(inchar);
                     15:                fclose(in);
                     16:        }
                     17:        return bp;
                     18: }
                     19: 
                     20: inchar() { return getc(in); }

unix.superglobalmegacorp.com

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