Searched refs:g_process_fullpath (Results 1 – 1 of 1) sorted by relevance
304 static char g_process_fullpath[PATH_MAX] = {0}; in get_process_fullpath() local305 if (force || g_process_fullpath[0] == '\0') { in get_process_fullpath()307 uint32_t len = sizeof(g_process_fullpath); in get_process_fullpath()308 if (_NSGetExecutablePath(g_process_fullpath, &len) != 0) in get_process_fullpath()309 strncpy(g_process_fullpath, "<error>", sizeof(g_process_fullpath)); in get_process_fullpath()311 return g_process_fullpath; in get_process_fullpath()