Lines Matching +defs:pathname +defs:name
14 * 3. Neither the name of the University nor the names of its contributors
106 * No utility name is present, simply dump the environment
157 * search for name in directories given in env var PATH
160 * (note this return value is either NULL, or == name,
166 path_find(const char *name)
173 if (strchr(name, '/') != NULL) {
175 * name contains a '/', no PATH search,
182 if (stat(name, &sb) == -1) {
187 return name;
198 char *pathname;
214 if (asprintf(&pathname, "%.*s/%s", (int)lp, p, name) == -1) {
225 if (stat(pathname, &sb) == -1) {
226 free(pathname);
233 * the correct name in PATH, and it
239 return (const char *)pathname;
250 firstfound = pathname;
252 free(pathname);
270 me, "[-0i] [-C dir] [-u name] [--]",
271 howwide, "", "[name=value ...] [--]",