summaryrefslogtreecommitdiff
path: root/include/libc/libc_dirent.h
diff options
context:
space:
mode:
authorbernard <[email protected]>2017-10-15 22:30:05 +0800
committerbernard <[email protected]>2017-10-15 22:30:05 +0800
commitcd215b25455bf06dfeb8885fe4d8f5b30174a8c3 (patch)
treed8fd2bac165526449fb9eccc004d5563374a722d /include/libc/libc_dirent.h
parent8bdf993bfc38f9b652a7af60cb071c708ad7dea6 (diff)
[Kernel] header files
1. Remove components.h file; 2. Add libc_* files for standard libc definitions; 3. Add rtdbg.h file for simple debug log; 4. Add single list implementation; 5. Change the 'rt_uint8_t' type of cmd to 'int'.
Diffstat (limited to 'include/libc/libc_dirent.h')
-rw-r--r--include/libc/libc_dirent.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/libc/libc_dirent.h b/include/libc/libc_dirent.h
new file mode 100644
index 0000000000..5bcbc32478
--- /dev/null
+++ b/include/libc/libc_dirent.h
@@ -0,0 +1,8 @@
+#ifndef LIBC_DIRENT_H__
+#define LIBC_DIRENT_H__
+
+#define DT_UNKNOWN 0x00
+#define DT_REG 0x01
+#define DT_DIR 0x02
+
+#endif