Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <sys/param.h>
#include <stdlib.h>
#include <stdio.h>
#include <cmplrs/rcodes.h>
#include "defs.h"
#include "file_util.h"
Go to the source code of this file.
Functions | |
BOOL | Is_File (const char *fname) |
BOOL | Same_File (FILE *file1, FILE *file2) |
char * | New_Extension (const char *name, const char *ext) |
char * | Remove_Extension (char *name) |
char * | Last_Pathname_Component (char *pname) |
Variables | |
static char * | source_file = __FILE__ |
Definition at line 60 of file file_util.c.
References FALSE, NULL, and stat.
Referenced by Diag_Set_File(), and Set_Error_File().
char* Last_Pathname_Component | ( | char * | pname | ) |
Definition at line 329 of file file_util.c.
Referenced by Derive_Anl_Filename(), Move_Locations_To_Anl_File(), Phase_Init(), Prepare_Listing_File(), Prepare_Source(), Process_Command_Line(), Process_Filename_Options(), and RiceWhirl2f().
char* New_Extension | ( | const char * | name, |
const char * | ext | ||
) |
Definition at line 172 of file file_util.c.
Referenced by Derive_Anl_Filename(), DRA_Make_File_Name(), Move_Locations_To_Anl_File(), PDGCS_initialize(), Phase_Init(), Prepare_Listing_File(), Prepare_Source(), and Process_Filename_Options().
char* Remove_Extension | ( | char * | name | ) |
Definition at line 204 of file file_util.c.
Definition at line 85 of file file_util.c.
References FALSE, fileno(), fstat, NULL, and stat.
Referenced by Close_File(), Diag_Set_File(), Init_Error_File(), and Set_Error_Trace().
char* source_file = __FILE__ [static] |
Definition at line 37 of file file_util.c.