|
|
1.1 ! root 1: /* ! 2: * Open a file or die in the attempt. ! 3: */ ! 4: #include <stdio.h> ! 5: FILE * ! 6: xopen(fn, acs) ! 7: char *fn, *acs; ! 8: { ! 9: FILE *tmp; ! 10: ! 11: if(NULL == (tmp = fopen(fn, acs))) ! 12: fatal("Cannot fopen(%s, %s)", fn, acs); ! 13: return(tmp); ! 14: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.