summaryrefslogtreecommitdiffstats
path: root/sw/z80/kernel/include/fs
diff options
context:
space:
mode:
authorleleraffa97@hotmail.it <leleraffa97@hotmail.it>2017-08-26 14:49:07 +0200
committerleleraffa97@hotmail.it <leleraffa97@hotmail.it>2017-08-26 14:49:07 +0200
commit57a35f750781dad141dc5ab6120afe9c1244981f (patch)
treef2546cec2fd6ef277c8026114dffecb85ea42962 /sw/z80/kernel/include/fs
parentFile system initialization (diff)
downloadz80uPC-57a35f750781dad141dc5ab6120afe9c1244981f.tar.gz
z80uPC-57a35f750781dad141dc5ab6120afe9c1244981f.zip
time to inode
Diffstat (limited to '')
-rw-r--r--sw/z80/kernel/include/fs/fs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/z80/kernel/include/fs/fs.h b/sw/z80/kernel/include/fs/fs.h
index 62bef36..2a0e9d4 100644
--- a/sw/z80/kernel/include/fs/fs.h
+++ b/sw/z80/kernel/include/fs/fs.h
@@ -50,6 +50,8 @@ struct fs_inode
uint uid :3; // chown
uint type :2; // file, dir, hard-link, sym-link
+ time_t ctime; // creation time
+
/* data storage informations */
uint24_t size;
uint16_t blocks[FS_BLOCKS_N];