refactor: separate syscall interfaces from kernel space, into posix compliant structure.
[lunaix-os.git] / lunaix-os / usr / api / fcntl.c
diff --git a/lunaix-os/usr/api/fcntl.c b/lunaix-os/usr/api/fcntl.c
new file mode 100644 (file)
index 0000000..05a2cd4
--- /dev/null
@@ -0,0 +1,4 @@
+#include <lunaix/syscall.h>
+#include <usr/fcntl.h>
+
+__LXSYSCALL2(int, open, const char*, path, int, options)