Lines Matching refs:path
1 /* Return the next element of a path.
41 /* Return the next element of a colon-separated path.
42 A null entry in the path is equivalent to "." (the current directory).
44 If NEW_PATH is non-NULL, set the path and return NULL.
51 static char *path = NULL; /* Freshly allocated copy of NEW_PATH. */
53 static int final_colon; /* If zero, path didn't end with a colon. */
54 char *start; /* Start of path element to return. */
58 if (path)
59 free (path);
60 end = path = strdup (new_path);
81 /* An empty path element. */
87 /* The last path element. */