Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
#include <sys/stat.h>
#include <unistd.h>
Go to the source code of this file.
Functions | |
BOOL | Is_File (const char *fname) |
BOOL | Same_File (FILE *file1, FILE *file2) |
BOOL | Has_Extension (char *name, char *ext) |
BOOL | Find_File (char *name, char *ext) |
char * | New_Extension (const char *name, const char *ext) |
char * | Remove_Extension (char *name) |
char * | Make_Temp_File (char *tmp, char *prefix) |
char * | Full_Path_Name (char *base, char *path, INT pathlen) |
char * | Last_Pathname_Component (char *pname) |
char * | Make_Absolute_Path (char *filename) |
char * | Get_Current_Working_Directory (void) |
char* Full_Path_Name | ( | char * | base, |
char * | path, | ||
INT | pathlen | ||
) |
char* Get_Current_Working_Directory | ( | void | ) |
BOOL Has_Extension | ( | char * | name, |
char * | ext | ||
) |
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* Make_Absolute_Path | ( | char * | filename | ) |
Referenced by cwh_dst_enter_path().
char* Make_Temp_File | ( | char * | tmp, |
char * | prefix | ||
) |
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().