Lines Matching refs:path
45 to, *AND INCLUDING*, a final '/'. If there is no directory in the path,
50 The input path to this function is expected to have a file name part.
64 static char *dirslash(const char *path)
68 DEBUGASSERT(path);
70 n = strlen(path);
72 /* find the rightmost path separator, if any */
73 while(n && !IS_SEP(path[n-1]))
75 /* skip over all the path separators, if any */
76 while(n && IS_SEP(path[n-1]))
79 if(Curl_dyn_addn(&out, path, n))