Searched refs:g_process_fullpath (Results 1 – 1 of 1) sorted by relevance
393 static char g_process_fullpath[PATH_MAX] = {0}; in get_process_fullpath() local394 if (force || g_process_fullpath[0] == '\0') in get_process_fullpath()397 uint32_t len = sizeof(g_process_fullpath); in get_process_fullpath()398 if (_NSGetExecutablePath (g_process_fullpath, &len) != 0) in get_process_fullpath()399 strncpy (g_process_fullpath, "<error>", sizeof(g_process_fullpath)); in get_process_fullpath()401 return g_process_fullpath; in get_process_fullpath()