Lines Matching refs:st
28 int stat3d(const char* path, struct stat* st)
31 int _stat(path, st) char* path; struct stat* st; { return stat(path, st); }
33 int stat(path, st) char* path; struct stat* st;
48 so = st;
49 st = ≻
53 if (!fscall(NiL, MSG_stat, 0, path, st))
57 if (!(sp = pathreal(path, 0, st)))
59 if (S_ISLNK(st->st_mode))
62 if (st == &sc)
63 st = so;
64 if (XSTAT(_3d_ver, sp, st))
68 IVIEW(((struct stat64*)st), state.path.level);
72 if (STAT(sp, st))
75 IVIEW(st, state.path.level);
79 fscall(mp, MSG_stat, 0, state.path.name, st);
82 fscall(mp, MSG_stat, 0, state.path.name, st);
85 if (st == &sc)
87 st = so;
88 if (XSTAT(_3d_ver, sp, st))
92 IVIEW(((struct stat64*)st), state.path.level);
95 IVIEW(st, state.path.level);
99 if (S_ISDIR(st->st_mode))
100 st->st_nlink = _3D_LINK_MAX;
108 stat643d(const char* path, struct stat64* st)
121 if (STAT64(sp, st))
123 IVIEW(st, state.path.level);
132 if (S_ISDIR(st->st_mode))
133 st->st_nlink = _3D_LINK_MAX;