Home | History | Annotate | Download | only in lib

Lines Matching defs:path

25   * Looks for binary prog_name in $PATH.
28 * returned and absolute path to the file is filled into buf. In case buf is
29 * too short to hold the absolute path + prog_name for the file we are looking
31 * $PATH.
43 static int file_exist(const char *path)
47 if (!access(path, R_OK) && !stat(path, &st) && S_ISREG(st.st_mode))
55 const char *path = (const char *)getenv("PATH");
56 const char *start = path;
60 if (path == NULL)
75 * "::" inside $PATH, $PATH ending with ':' or $PATH starting
84 * If there is no '/' ad the end of path from $PATH add it.