Added st_{a,c,m}time to struct stat.
This commit is contained in:
parent
aa72efdb2c
commit
d3c4df72b1
|
@ -39,6 +39,7 @@ __BEGIN_DECLS
|
||||||
@include(uid_t.h)
|
@include(uid_t.h)
|
||||||
@include(gid_t.h)
|
@include(gid_t.h)
|
||||||
@include(off_t.h)
|
@include(off_t.h)
|
||||||
|
@include(time_t.h)
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
|
||||||
#include <sortix/stat.h>
|
#include <sortix/stat.h>
|
||||||
|
|
|
@ -39,7 +39,10 @@ struct stat
|
||||||
uid_t st_uid;
|
uid_t st_uid;
|
||||||
gid_t st_gid;
|
gid_t st_gid;
|
||||||
off_t st_size;
|
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;
|
blksize_t st_blksize;
|
||||||
blkcnt_t st_blocks;
|
blkcnt_t st_blocks;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue