27 #if !defined(AV_OFFSET) || !defined(FP_INDIR) 28 # ifdef HAVE_SCANSTACK 29 # undef HAVE_SCANSTACK 33 #ifdef HAVE_VAR___PROGNAME 35 #ifdef HAVE_VAR___PROGNAME_FULL 36 extern char *__progname_full;
38 #define __progname_full __progname 79 if (slen <= (
int)
sizeof (
av0_sp))
134 if (slen <=
sizeof (
prn_sp))
177 #if defined(HAVE_SCANSTACK) || defined(HAVE_GETPROGNAME) 185 #ifdef HAVE_GETPROGNAME 192 #ifdef HAVE_VAR___PROGNAME 193 if (__progname_full) {
198 #ifdef HAVE_SCANSTACK 210 #if defined(HAVE_DLINFO) && defined(HAVE_DLOPEN_IN_LIBC) && defined(RTLD_DI_ARGSINFO) 213 if (dlinfo(RTLD_SELF, RTLD_DI_ARGSINFO, &
args) < 0 ||
214 args.dla_argc <= 0 ||
EXPORT void set_progname(char *name) const
ACPI_SIZE strlen(const char *String)
EXPORT char ** saved_av()
_Check_return_ _CRTIMP _CONST_RETURN char *__cdecl strrchr(_In_z_ const char *_Str, _In_ int _Ch)
static const char * progname
LOCAL void save_av0 __PR((char *av0))
static char * progname_saved
LOCAL void init_progname()
EXPORT void save_args(int ac, av)
EXPORT char * get_progname()
static char * av0_name_saved
LOCAL void save_av0(char *av0)
char * strcpy(char *DstString, const char *SrcString)
EXPORT char * get_progpath()
static char * progpath_saved
EXPORT char * saved_av0()
LOCAL void init_arginfo()
GLuint const GLchar * name