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