#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <string.h>#include <limits.h>#include <errno.h>#include <cmplrs/rcodes.h>#include "defs.h"
Go to the source code of this file.
Functions | |
| static BOOL | Has_Extension (char *name, char *ext) |
| static void | Usage (char *progname) |
| int | main (INT argc, char *argv[], char *envp[]) |
Variables | |
| char | path [PATH_MAX] |
| static char * | libpath [3] |
| static const char *const | errstring = "%s: can't allocate memory\n" |
| static BOOL Has_Extension | ( | char * | name, | |
| char * | ext | |||
| ) | [static] |
Definition at line 61 of file whirl2f_main.cxx.
| int main | ( | INT | argc, | |
| char * | argv[], | |||
| char * | envp[] | |||
| ) |
Definition at line 156 of file whirl2f_main.cxx.
References errno, errstring, exit(), fprintf(), getenv(), Has_Extension(), len, libpath, path, RC_NORECOVER_USER_ERROR, RC_SYSTEM_ERROR, strcpy, and Usage().

| static void Usage | ( | char * | progname | ) | [static] |
Definition at line 76 of file whirl2f_main.cxx.
References fprintf().
Referenced by main().

const char* const errstring = "%s: can't allocate memory\n" [static] |
Definition at line 57 of file whirl2f_main.cxx.
Referenced by main().
char* libpath[3] [static] |
{"LD_LIBRARY_PATH",
"LD_LIBRARYN32_PATH",
"LD_LIBRARY64_PATH"
}
Definition at line 51 of file whirl2f_main.cxx.
Referenced by main().
| char path[PATH_MAX] |
Definition at line 50 of file whirl2f_main.cxx.
1.7.1