Lines Matching defs:subpath
150 char *subpath;
221 subpath = malloc(n + strlen(direntp->d_name) + 2);
222 if (subpath == 0) {
227 (void) strcpy(subpath, path);
228 if (subpath[0] != '\0' && subpath[n-1] != '/')
229 subpath[n++] = '/';
232 (void) strlcpy(&subpath[n], direntp->d_name, MAXNAMELEN);
241 free(subpath);
250 rc = fwalk(subpath, fn, depth-1, vp);
252 free(subpath);
264 free(subpath);
269 free(subpath);