Lines Matching defs:file_stat
103 struct stat file_stat;
105 if (stat(filename, &file_stat) < 0)
108 mtime->seconds = file_stat.st_mtim.tv_sec;
109 mtime->nanoseconds = file_stat.st_mtim.tv_nsec;
111 mtime->seconds = file_stat.st_mtime;
946 struct stat file_stat;
949 if (fstat(this->descriptor_, &file_stat) < 0)
953 return Timespec(file_stat.st_mtim.tv_sec, file_stat.st_mtim.tv_nsec);
955 return Timespec(file_stat.st_mtime, 0);