Lines Matching refs:path
40 * which(1) -- find an executable(s) in the user's path
41 * whereis(1) -- find an executable(s) in the default user path
52 char *path;
72 path = _PATH_STDPATH;
74 if ((path = getenv("PATH")) == NULL || *path == '\0')
75 path = _PATH_DEFPATH;
88 if (findprog(argv[n], path, progmode, allmatches) == 0)
95 findprog(char *prog, char *path, int progmode, int allmatches)
114 if ((path = strdup(path)) == NULL)
116 pathcpy = path;
129 free(path);
137 free(path);
142 (void)free(path);