repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
loongarch64: add new syscall numbers
[musl.git]
/
src
/
mman
/
madvise.c
blob
e0c7c0ec92b81782fdb6424f842756d434e63881
1
#include <sys/mman.h>
2
#include
"syscall.h"
3
4
int
__madvise
(
void
*
addr
,
size_t
len
,
int
advice
)
5
{
6
return
syscall
(
SYS_madvise
,
addr
,
len
,
advice
);
7
}
8
9
weak_alias
(
__madvise
,
madvise
);