Lines Matching defs:path
19 #include "path-prefix.h"
36 "path",
128 path is used to find the file. Each entry in the path is stepped
131 path then a FALSE is returned, the command could not be found.
171 /* The default case is to look in the path */
174 gchar * path = g_strdup(g_getenv("PATH"));
176 if (path == NULL) {
178 The default search path is the current directory */
179 path = g_strdup(G_SEARCHPATH_SEPARATOR_S);
182 gchar * orig_path = path;
184 for (; path != NULL;) {
185 gchar * local_path; // to have the path after detection of the separator
188 local_path = path;
189 path = g_utf8_strchr(path, -1, G_SEARCHPATH_SEPARATOR);
193 if (path != NULL) {
194 path[0] = '\0';
195 path++;