pub const Stat = extern struct
dev: dev_t
mode: mode_t
nlink: nlink_t
uid: uid_t
gid: gid_t
rdev: dev_t
size: off_t
blksize: blksize_t
blocks: blkcnt_t
atim: timespec
mtim: timespec
ctim: timespec
ino: ino_t
pub fn atime(self: @This()) timespec
pub fn mtime(self: @This()) timespec
pub fn ctime(self: @This()) timespec
780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806
pub const Stat = extern struct { dev: dev_t, mode: mode_t, nlink: nlink_t, uid: uid_t, gid: gid_t, rdev: dev_t, size: off_t, blksize: blksize_t, blocks: blkcnt_t, atim: timespec, mtim: timespec, ctim: timespec, ino: ino_t, pub fn atime(self: @This()) timespec { return self.atim; } pub fn mtime(self: @This()) timespec { return self.mtim; } pub fn ctime(self: @This()) timespec { return self.ctim; } }