refactor: separate syscall interfaces from kernel space, into posix compliant structure.
[lunaix-os.git] / lunaix-os / includes / usr / sys / dirent.h
diff --git a/lunaix-os/includes/usr/sys/dirent.h b/lunaix-os/includes/usr/sys/dirent.h
new file mode 100644 (file)
index 0000000..54334d3
--- /dev/null
@@ -0,0 +1,9 @@
+#ifndef __LUNAIX_SYS_DIRENT_H
+#define __LUNAIX_SYS_DIRENT_H
+
+#include <usr/sys/dirent_defs.h>
+
+int
+sys_readdir(int fd, struct lx_dirent* dirent);
+
+#endif /* __LUNAIX_DIRENT_H */