Lines Matching defs:path
44 static int dos_open(const char *path, struct open_file *fd);
235 dos_open(const char *path, struct open_file *fd)
251 if ((err = namede(fs, path, &de))) {
544 * Return directory entry from path
547 namede(DOS_FS *fs, const char *path, DOS_DE **dep)
557 while (*path) {
558 while (*path == '/')
559 path++;
560 if (*path == '\0')
562 if (!(s = strchr(path, '/')))
563 s = strchr(path, 0);
564 if ((n = s - path) > 255)
566 memcpy(name, path, n);
568 path = s;
579 * Lookup path segment