Lines Matching +defs:pathname +defs:name
15 * 3. Neither the name of the University nor the names of its contributors
96 * Null-terminated directory prefix list for absolute pathname requests and
97 * search list for relative pathname requests.
104 char *name;
247 dirp->name = argv[optind];
248 dirp->len = strlen(dirp->name);
730 * bootfile pathname from a diskless Sun.
778 static char pathname[MAXPATHLEN];
799 for (dirp = dirs; dirp->name != NULL; dirp++) {
801 (!strncmp(filename, dirp->name, dirp->len) &&
806 if (dirp->name == NULL && dirp != dirs)
821 * Relative file name: search the approved locations for it.
831 if (dirs[0].name != NULL) {
832 for (dirp = dirs; dirp->name != NULL; dirp++) {
833 snprintf(pathname, sizeof pathname, "%s/%s",
834 dirp->name, filename);
835 if (stat(pathname, &stbuf) == 0 &&
840 if (dirp->name == NULL)
846 *filep = filename = pathname;