Framework for exporting system header to user space (#59)
[lunaix-os.git] / lunaix-os / usr / libc / includes / sys / mman.h
diff --git a/lunaix-os/usr/libc/includes/sys/mman.h b/lunaix-os/usr/libc/includes/sys/mman.h
new file mode 100644 (file)
index 0000000..0ddf765
--- /dev/null
@@ -0,0 +1,12 @@
+#ifndef __LUNALIBC_SYS_MANN_H
+#define __LUNALIBC_SYS_MANN_H
+
+#include <stddef.h>
+#include <lunaix/mman.h>
+#include <sys/types.h>
+
+void* mmap(void* addr, size_t length, int proct, int flags, int fd, off_t offset);
+
+int munmap(void* addr, size_t length);
+
+#endif /* __LUNALIBC_MANN_H */