summaryrefslogtreecommitdiffstats
path: root/sw/z80/kernel/include/fs/dirent.h
diff options
context:
space:
mode:
Diffstat (limited to 'sw/z80/kernel/include/fs/dirent.h')
-rw-r--r--sw/z80/kernel/include/fs/dirent.h13
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