diff options
author | Nao Pross <naopross@thearcway.org> | 2017-08-26 14:50:06 +0200 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2017-08-26 14:50:06 +0200 |
commit | 2f3b8ff5cc1948c46859d3ccd73f7e589b6f5d53 (patch) | |
tree | 6888708397c459827bed79d0333f7d5c967c0789 /sw/z80/kernel/include/fs/dirent.h | |
parent | edit documentation abstract (diff) | |
parent | time to inode (diff) | |
download | z80uPC-2f3b8ff5cc1948c46859d3ccd73f7e589b6f5d53.tar.gz z80uPC-2f3b8ff5cc1948c46859d3ccd73f7e589b6f5d53.zip |
merge remote-tracking branch 'origin/atlas' into naopross
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 |