Lines Matching refs:path
33 * int ftw (path, fn, depth) char *path; int (*fn)(); int depth;
35 * Given a path name, ftw starts from the file given by that path
40 * The first contains the path name of the object, the second
112 const char *path,
121 rc = (lf_xftw(path, fn, depth, lstat64));
130 const char *path,
135 lf_xftw(char *path, int (*fn)(), int depth, int (*statfn)())
150 if ((*statfn)(path, &sb) < 0)
151 return (errno == EACCES? (*fn)(path, &sb, FTW_NS): -1);
166 if (pathconf(path, _PC_XATTR_EXISTS) == 1) {
167 attrfd = attropen64(path, ".", O_RDONLY|O_NONBLOCK);
176 rc = (*fn)(path, &sb, FTW_F);
190 dirp = opendir(path);
199 rc = (errno == EACCES? (*fn)(path, &sb, FTW_DNR): -1);
201 rc = (*fn)(path, &sb, FTW_D);
217 n = (int)strlen(path);
228 (void) strcpy(subpath, path);
238 * just create a path name and call self to check it out.
245 /* Append component name to the working path */
274 dirp = opendir(path);