Home | History | Annotate | Download | only in posix

Lines Matching defs:st

197         struct stat st;
199 if (fd != -1 && !fstat(fd, &st) && (st.st_mode&S_IFMT) == (mode&S_IFMT))
226 struct stat st;
235 if (lstat(name, &st) || (S_ISREG(st.st_mode)
236 && st.st_size && (fd = open(name, O_RDONLY))<0))
242 if (!S_ISREG(st.st_mode) && !S_ISLNK(st.st_mode)) st.st_size = 0;
243 if (st.st_size >> 32) perror_msg("skipping >2G file '%s'", name);
247 (int)st.st_ino, st.st_mode, st.st_uid, st.st_gid, (int)st.st_nlink,
248 (int)st.st_mtime, (int)st.st_size, dev_major(st.st_dev),
249 dev_minor(st.st_dev), dev_major(st.st_rdev), dev_minor(st.st_rdev),
259 llen = st.st_size;
260 if (S_ISLNK(st.st_mode)) {
272 llen = st.st_size & 3;