Lines Matching defs:path
70 * char *s_realpath(const char *path, char resolved_path[MAXPATHLEN]);
72 * Find the real name of path, by removing all ".", ".." and symlink
74 * in which case the path which caused trouble is left in (resolved).
77 * /devices - the path below that point is known to not point to any
81 s_realpath(const char *path, char *resolved)
92 if (path[0] == '/') {
95 if (path[1] == '\0')
98 left_len = strlcpy(left, path + 1, sizeof (left));
105 left_len = strlcpy(left, path, sizeof (left));
113 * Iterate over path components in `left'.
117 * Extract the next path component and adjust `left'
145 * Strip the last path component except when we have
158 * Append the next path component and lstat() it. If
160 * there are no more path components left.
203 /* Strip the last path component. */
211 * If there are any path components left, then