Lines Matching refs:stat
29 #include <sys/stat.h>
37 #include <isc/stat.h>
48 struct stat sbuf;
72 if (stat(path, &sbuf))
90 } else if (stat(path, &sbuf))
121 * of a previous stat() to be used again without having to do another stat,
123 * that the results of the last stat should be used. But then you get into
124 * annoying MP issues. BTW, Win32 has stat().
127 file_stats(const char *file, struct stat *stats) {
133 if (stat(file, stats) != 0)
150 struct stat sbuf;
157 if (stat(oldname, &sbuf) != 0) {
165 if (stat(newname, &sbuf) == 0) {
395 struct stat stats;
407 struct stat filestat;
408 memset(&filestat,0,sizeof(struct stat));
410 if ((stat(filename, &filestat)) == -1)