diff options
author | leleraffa97@hotmail.it <leleraffa97@hotmail.it> | 2017-08-26 11:11:39 +0200 |
---|---|---|
committer | leleraffa97@hotmail.it <leleraffa97@hotmail.it> | 2017-08-26 11:11:39 +0200 |
commit | 1acc542400d15ddf32f44e3f1ddb82f9c9fe4aab (patch) | |
tree | fb439e84abdf86a1b6e9f7362ca4c3cdeef2bb8d /sw/z80/kernel/include/fs/dirent.h | |
parent | Merge remote-tracking branch 'origin/naopross' into atlas (diff) | |
download | z80uPC-1acc542400d15ddf32f44e3f1ddb82f9c9fe4aab.tar.gz z80uPC-1acc542400d15ddf32f44e3f1ddb82f9c9fe4aab.zip |
File system initialization
Simple I/O (sio) interfaced, not yet implemented
Diffstat (limited to 'sw/z80/kernel/include/fs/dirent.h')
-rw-r--r-- | sw/z80/kernel/include/fs/dirent.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sw/z80/kernel/include/fs/dirent.h b/sw/z80/kernel/include/fs/dirent.h new file mode 100644 index 0000000..ea5699b --- /dev/null +++ b/sw/z80/kernel/include/fs/dirent.h @@ -0,0 +1,13 @@ +#ifndef DIRENT_H +#define DIRENT_H + +#include "types.h" + +struct dirent +{ + ino_t i_number; // inode referred + uint8_t name_size; // size of the name + char name[]; // name of the referred inode +} + +#endif |