Lines Matching refs:path
32 getPathDirStatus(const char *path) in getPathDirStatus() argument
37 err = stat(path, &st); in getPathDirStatus()
56 dirCreateHierarchy(const char *path, int mode, in dirCreateHierarchy() argument
65 if (path[0] == '\0') { in dirCreateHierarchy()
73 size_t pathLen = strlen(path); in dirCreateHierarchy()
79 memcpy(cpath, path, pathLen); in dirCreateHierarchy()
183 dirUnlinkHierarchy(const char *path) in dirUnlinkHierarchy() argument
191 if (lstat(path, &st) < 0) { in dirUnlinkHierarchy()
197 return unlink(path); in dirUnlinkHierarchy()
201 dir = opendir(path); in dirUnlinkHierarchy()
214 snprintf(dn, sizeof(dn), "%s/%s", path, de->d_name); in dirUnlinkHierarchy()
235 return rmdir(path); in dirUnlinkHierarchy()