Lines Matching refs:left
48 * in which case the path which caused trouble is left in (resolved).
58 char left[PATH_MAX], next_token[PATH_MAX], symlink[PATH_MAX];
67 left_len = strlcpy(left, path + 1, sizeof(left));
75 left_len = strlcpy(left, path, sizeof(left));
77 if (left_len >= sizeof(left) || resolved_len >= PATH_MAX) {
83 * Iterate over path components in `left'.
87 * Extract the next path component and adjust `left'
90 p = strchr(left, '/');
92 next_token_len = p != NULL ? p - left : left_len;
93 memcpy(next_token, left, next_token_len);
98 memmove(left, p + 1, left_len + 1);
100 left[0] = '\0';
168 * If there are any path components left, then
170 * in `left'.
181 left_len = strlcat(symlink, left,
188 left_len = strlcpy(left, symlink, sizeof(left));