Lines Matching defs:path
146 execvPe(const char *name, const char *path, char * const *argv,
158 /* If it's an absolute or relative path name, it's easy. */
166 /* If it's an empty path name, fail in the usual POSIX way. */
172 cur = alloca(strlen(path) + 1);
177 strcpy(cur, path);
180 * It's a SHELL path -- double, leading and trailing colons
191 * If the path is too long complain. This is a possible
192 * security issue; given a way to make the path too long
198 (void)_write(STDERR_FILENO, ": path too long\n",
266 execvP(const char *name, const char *path, char * const argv[])
268 return execvPe(name, path, argv, environ);
274 const char *path;
276 /* Get the path we're searching. */
277 if ((path = getenv("PATH")) == NULL)
278 path = _PATH_DEFPATH;
280 return (execvPe(name, path, argv, envp));