Lines Matching refs:stat
20 #include <sys/stat.h>
30 #include <isc/stat.h>
47 struct stat sbuf;
71 if (stat(path, &sbuf))
89 } else if (stat(path, &sbuf))
120 * of a previous stat() to be used again without having to do another stat,
122 * that the results of the last stat should be used. But then you get into
123 * annoying MP issues. BTW, Win32 has stat().
126 file_stats(const char *file, struct stat *stats) {
132 if (stat(file, stats) != 0)
139 fd_stats(int fd, struct stat *stats) {
153 struct stat stats;
167 struct stat stats;
188 struct stat sbuf;
195 if (stat(oldname, &sbuf) != 0) {
203 if (stat(newname, &sbuf) == 0) {
267 struct stat stats;
473 struct stat stats;
485 struct stat filestat;
486 memset(&filestat,0,sizeof(struct stat));
488 if ((stat(filename, &filestat)) == -1)
502 struct stat filestat;
503 memset(&filestat,0,sizeof(struct stat));
519 struct stat filestat;
520 memset(&filestat,0,sizeof(struct stat));
522 if ((stat(filename, &filestat)) == -1)
663 struct stat sb;