Lines Matching refs:pathdat
30 extern pathdata pathdat[];
78 if (pathdat[i].type == DIR) { in setup_path()
79 if (mkdir(pathdat[i].name, pathdat[i].mode) == -1) { in setup_path()
81 pathdat[i].name, i); in setup_path()
88 } else if (pathdat[i].type == SYM) { in setup_path()
89 if (symlink(pathdat[i].contents, pathdat[i].name) == -1) { in setup_path()
91 pathdat[i].name); in setup_path()
99 if ((fd = open(pathdat[i].name, O_WRONLY | O_CREAT, in setup_path()
100 pathdat[i].mode)) == -1) { in setup_path()
101 sprintf(ebuf, "Can't open %s", pathdat[i].name); in setup_path()
108 if (write(fd, pathdat[i].contents, in setup_path()
109 strlen(pathdat[i].contents)) == -1) { in setup_path()