Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <limits.h>
#include <errno.h>
#include <stdarg.h>
#include <cmplrs/rcodes.h>
#include "defs.h"
Go to the source code of this file.
Functions | |
void | error (const char *format,...) |
static BOOL | Has_Extension (const char *name, const char *ext) |
static void | Usage (const char *progname) |
int | main (INT argc, const char *const argv[], const char *const envp[]) |
Variables | |
char | path [PATH_MAX] |
static const char * | libpath [3] |
static const char *const | errstring = "%s: can't allocate memory\n" |
static const char * | program_name |
Definition at line 64 of file whirl2c_main.cxx.
References fprintf(), and program_name.
Referenced by __OPN(), _INQ(), _RUI(), _setuptr(), _WUF(), _WUI(), directive_region_error(), end_if_blk(), is_attr_referenced_in_bound(), kind_to_linear_type(), main(), MDopen(), merge_type(), and PRINTMSG().
static BOOL Has_Extension | ( | const char * | name, |
const char * | ext | ||
) | [static] |
Definition at line 167 of file whirl2c_main.cxx.
References errno, error(), errstring, exit(), FALSE, fprintf(), getenv(), Has_Extension(), len, libpath, NULL, path, program_name, RC_NORECOVER_USER_ERROR, RC_SYSTEM_ERROR, strcpy, TRUE, and Usage().
Definition at line 91 of file whirl2c_main.cxx.
References fprintf().
Referenced by main().
Definition at line 59 of file whirl2c_main.cxx.
Referenced by main().
{"LD_LIBRARY_PATH", "LD_LIBRARYN32_PATH", "LD_LIBRARY64_PATH" }
Definition at line 53 of file whirl2c_main.cxx.
Referenced by main().
Definition at line 52 of file whirl2c_main.cxx.
Referenced by create_temp_file(), find_files_in_directory(), LOC_INFO::LOC_INFO(), main(), Process_Feedback_Options(), RiceWhirl2f(), TY2F_Point_At_Path(), and WN2F_Load_Return_Reg().
const char* program_name [static] |
Definition at line 60 of file whirl2c_main.cxx.