ARPDAS_QNX6 1.0
|
00001 /* opnifile.c contains open_input_file() for compiler.h package. 00002 * Separated from compiler.c to allow customization. 00003 */ 00004 #include <stdio.h> 00005 #include "compiler.h" 00006 char rcsid_opnifile_c[] = 00007 "$Header: /cvsroot/arp-das/nortlib2/src/opnifile.c,v 1.2 1998/01/06 18:36:56 nort Done $"; 00008 00009 FILE *open_input_file(char *filename) { 00010 return fopen(filename, "r"); 00011 } 00012 /* 00013 =Name open_input_file(): Open compiler input file 00014 =Subject Compiler 00015 =Synopsis 00016 00017 #include <stdio.h> 00018 #include "compiler.h" 00019 FILE *open_input_file(char *filename); 00020 00021 =Description 00022 00023 This is a thin cover for fopen(), but it may be selectively 00024 replaced if a particular compiler requires a more complex 00025 search, for example. 00026 00027 =Returns 00028 00029 The FILE pointer for the specified input file. 00030 00031 =SeeAlso 00032 00033 =Compiler= functions. 00034 00035 =End 00036 */