summaryrefslogtreecommitdiffstats
path: root/sw/z80/kernel/include/fs/dirent.h
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2017-08-26 14:50:06 +0200
committerNao Pross <naopross@thearcway.org>2017-08-26 14:50:06 +0200
commit2f3b8ff5cc1948c46859d3ccd73f7e589b6f5d53 (patch)
tree6888708397c459827bed79d0333f7d5c967c0789 /sw/z80/kernel/include/fs/dirent.h
parentedit documentation abstract (diff)
parenttime to inode (diff)
downloadz80uPC-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.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