diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2022-12-14 18:26:49 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2022-12-14 18:26:49 +0100 |
| commit | d179f1846f9372920ef02f08cfb4d3abe99b383f (patch) | |
| tree | 4b6ddc71566be95a1ce520ef9d957f4cac1af6c9 /lib/sys/munmap.h | |
first commit
Diffstat (limited to 'lib/sys/munmap.h')
| -rw-r--r-- | lib/sys/munmap.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/sys/munmap.h b/lib/sys/munmap.h new file mode 100644 index 0000000..4a876d6 --- /dev/null +++ b/lib/sys/munmap.h @@ -0,0 +1,9 @@ +#ifndef MUNMAP_H +#define MUNMAP_H +#include "syscall.h" + +static int munmap(void * addr, unsigned long size) { + return syscall(MUNMAP, addr, size); +} + +#endif |