Lines Matching defs:subpath
144 char *subpath;
215 subpath = malloc(n + strlen(direntp->d_name) + 2);
216 if (subpath == 0) {
221 (void) strcpy(subpath, path);
222 if (subpath[0] != '\0' && subpath[n-1] != '/')
223 subpath[n++] = '/';
226 (void) strlcpy(&subpath[n], direntp->d_name, MAXNAMELEN);
235 free(subpath);
244 rc = fwalk(subpath, fn, depth-1, vp);
246 free(subpath);
258 free(subpath);
263 free(subpath);