Sign in
cobalt
/
cobalt
/
08336faa599332e3e3bf29b7ad38ef023018b55e
/
.
/
third_party
/
musl
/
src
/
mman
/
munmap.c
blob: 3f711ee50145bc6bf1ed905b1e310a63b32ace72 [
file
] [
log
] [
blame
]
#include
<sys/mman.h>
#include
"syscall.h"
#include
"libc.h"
static
void
dummy
(
void
)
{
}
weak_alias
(
dummy
,
__vm_wait
);
int
__munmap
(
void
*
start
,
size_t
len
)
{
__vm_wait
();
return
syscall
(
SYS_munmap
,
start
,
len
);
}
weak_alias
(
__munmap
,
munmap
);