|
|
1.1 root 1: #include <jerq.h>
2: #include <jerqio.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); }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.