Added st_{a,c,m}time to struct stat.

This commit is contained in:
Jonas 'Sortie' Termansen 2012-03-04 22:25:47 +01:00
parent aa72efdb2c
commit d3c4df72b1
2 changed files with 5 additions and 1 deletions

View File

@ -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>

View File

@ -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;
};