Searched refs:pathenv (Results 1 – 1 of 1) sorted by relevance
6002 char *binpath, *pathenv, *pe, *res1; in open_binary_fd() local6010 pathenv = getenv("PATH"); in open_binary_fd()6011 if (pathenv == NULL) { in open_binary_fd()6015 pathenv = strdup(pathenv); in open_binary_fd()6016 if (pathenv == NULL) { in open_binary_fd()6022 while ((pe = strsep(&pathenv, ":")) != NULL) { in open_binary_fd()6036 free(pathenv); in open_binary_fd()