projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
use rt_sigprocmask, not legacy sigprocmask, syscall in pthread exit code
[oweals/musl.git]
/
src
/
mman
/
munmap.c
1
#include <unistd.h>
2
#include <sys/mman.h>
3
#include "syscall.h"
4
#include "libc.h"
5
6
int __munmap(void *start, size_t len)
7
{
8
return syscall2(__NR_munmap, (long)start, len);
9
}
10
11
weak_alias(__munmap, munmap);