diff options
author | Anton Kling <anton@kling.gg> | 2024-04-14 17:44:32 +0200 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-04-14 17:44:32 +0200 |
commit | 3acd8cf6c8e41c1e1228c60ac5c4ea0f69e7aff5 (patch) | |
tree | 882e320f5732d8e5140c8e76223da1030114f016 /include | |
parent | 92f848244796881994c1f147633123c45da219b6 (diff) |
LibC: Fix stat struct
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/stat.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sys/stat.h b/include/sys/stat.h index cf4a805..334bc7d 100644 --- a/include/sys/stat.h +++ b/include/sys/stat.h @@ -23,9 +23,9 @@ struct stat { // For other file types, the use of this field is // unspecified. - struct timespec st_atim; // Last data access timestamp. - struct timespec st_mtim; // Last data modification timestamp. - struct timespec st_ctim; // Last file status change timestamp. + time_t st_atime; // Last data access timestamp. + time_t st_mtime; // Last data modification timestamp. + time_t st_ctime; // Last file status change timestamp. blksize_t st_blksize; // A file system-specific preferred I/O block size // for this object. In some file system types, this |