Home | History | Annotate | Download | only in src

Lines Matching defs:argv0

1282 argv0 and basename(argv0)
1439 static const char* argv0 = "UNKNOWN"; // just the program name
1453 argv0 = strdup(argv[0]); // small memory leak, but fn only called once
1454 assert(argv0);
1474 const char* GetArgv0() { return argv0; }
1480 const char* slash = strrchr(argv0, '/');
1482 if (!slash) slash = strrchr(argv0, '\\');
1484 return slash ? slash + 1 : argv0;