Lines Matching refs:stat
52 #include <sys/stat.h>
75 * of a previous stat() to be used again without having to do another stat,
77 * that the results of the last stat should be used. But then you get into
78 * annoying MP issues. BTW, Win32 has stat().
81 file_stats(const char *file, struct stat *stats) {
87 if (stat(file, stats) != 0)
94 fd_stats(int fd, struct stat *stats) {
108 struct stat stats;
123 struct stat stats;
137 struct stat stats;
157 struct stat stats;
415 struct stat stats;
427 struct stat filestat;
428 memset(&filestat,0,sizeof(struct stat));
430 if ((stat(filename, &filestat)) == -1)
444 struct stat filestat;
445 memset(&filestat,0,sizeof(struct stat));
462 struct stat filestat;
463 memset(&filestat,0,sizeof(struct stat));
465 if ((stat(filename, &filestat)) == -1)
586 struct stat sb;