Lines Matching defs:path
217 * Determine root path for remote machine.
584 char path[200];
591 (void) strcpy(path, ".");
593 (void) strncpy(path, dir, (int) sizeof (path) - 4);
594 path[sizeof (path)-4] = '\0';
595 p = path + strlen(path);
596 while (p > path && *--p == '/')
598 if (*path == '\0')
599 (void) strcpy(path, ".");
603 * Append "/0" to the directory path and stat() the file.
605 p = path + strlen(path);
609 if (stat(path, &stat1) != 0)
613 * Append "/00" to the directory path and stat() the file.
617 if (stat(path, &stat2) != 0)