Lines Matching refs:subpath
115 char *subpath, *component;
171 subpath = malloc((unsigned)(n+MAXNAMLEN+2));
172 if(subpath == NULL) {
179 (void)strcpy(subpath, path);
180 if(subpath[0] != '\0' && subpath[n-1] != '/')
181 subpath[n++] = '/';
182 component = &subpath[n];
210 rc = ftw(subpath, fn, depth-1);
212 free(subpath);
224 free(subpath);
236 free(subpath);