Lines Matching defs:path
230 The basename() function shall take the pathname pointed to by path and
234 If the string pointed to by path consists entirely of the '/' character,
236 to by path is exactly "//", it is implementation-defined whether '/' or "//"
239 If path is a null pointer or points to an empty string, basename() shall
242 The basename() function may modify the string pointed to by path, and may
250 static char *Curl_basename(char *path)
257 s1 = strrchr(path, '/');
258 s2 = strrchr(path, '\\');
261 path = (s1 > s2? s1 : s2) + 1;
264 path = s1 + 1;
266 path = s2 + 1;
268 return path;