projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
implement hcreate_r, hdestroy_r and hsearch_r
[oweals/musl.git]
/
src
/
mman
/
madvise.c
1
#include <sys/mman.h>
2
#include "syscall.h"
3
#include "libc.h"
4
5
int __madvise(void *addr, size_t len, int advice)
6
{
7
return syscall(SYS_madvise, addr, len, advice);
8
}
9
10
weak_alias(__madvise, madvise);