mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Added st_{a,c,m}time to struct stat.
This commit is contained in:
parent
aa72efdb2c
commit
d3c4df72b1
2 changed files with 5 additions and 1 deletions
|
@ -39,6 +39,7 @@ __BEGIN_DECLS
|
|||
@include(uid_t.h)
|
||||
@include(gid_t.h)
|
||||
@include(off_t.h)
|
||||
@include(time_t.h)
|
||||
__END_DECLS
|
||||
|
||||
#include <sortix/stat.h>
|
||||
|
|
|
@ -39,7 +39,10 @@ struct stat
|
|||
uid_t st_uid;
|
||||
gid_t st_gid;
|
||||
off_t st_size;
|
||||
/* TODO: st_atim, st_mtim, st_st_ctim */
|
||||
time_t st_atime;
|
||||
time_t st_mtime;
|
||||
time_t st_ctime;
|
||||
/* TODO: st_atim, st_mtim, st_ctim */
|
||||
blksize_t st_blksize;
|
||||
blkcnt_t st_blocks;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue