refactor: full rewrite of signal feature
[lunaix-os.git] / lunaix-os / usr / libc / arch / i386 / mann.c
1 #include "syscall.h"
2 #include <lunaix/types.h>
3
4 __LXSYSCALL2_VARG(void*, sys_mmap, void*, addr, size_t, length);
5
6 void*
7 mmap(void* addr, size_t length, int proct, int flags, int fd, off_t offset)
8 {
9     return sys_mmap(addr, length, proct, fd, offset, flags);
10 }
11
12 __LXSYSCALL2(void, munmap, void*, addr, size_t, length)