projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
clean up allocation/setup logic for fmemopen
[musl]
/
src
/
mman
/
munmap.c
1
#include <sys/mman.h>
2
#include "syscall.h"
3
#include "libc.h"
4
5
static void dummy(void) { }
6
weak_alias(dummy, __vm_wait);
7
8
int __munmap(void *start, size_t len)
9
{
10
__vm_wait();
11
return syscall(SYS_munmap, start, len);
12
}
13
14
weak_alias(__munmap, munmap);