Searched refs:argv0 (Results 1 – 2 of 2) sorted by relevance
84 const char *extract_argv0_path(const char *argv0) in extract_argv0_path() argument88 if (!argv0 || !*argv0) in extract_argv0_path()90 slash = argv0 + strlen(argv0); in extract_argv0_path()92 while (argv0 <= slash && !is_dir_sep(*slash)) in extract_argv0_path()95 if (slash >= argv0) { in extract_argv0_path()96 argv0_path = strndup(argv0, slash - argv0); in extract_argv0_path()100 return argv0; in extract_argv0_path()
55 static const char argv0[] = "ffs-test"; variable79 fprintf(stderr, "%s: %s ", argv0, levels[level]); in _msg()