Last change
on this file since 444 was 444, checked in by coas-nagasima, 4 years ago |
muslのソースコードを追加
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-csrc;charset=UTF-8
|
File size:
214 bytes
|
Line | |
---|
1 | #define _GNU_SOURCE
|
---|
2 | #include <sys/mman.h>
|
---|
3 | #include "syscall.h"
|
---|
4 |
|
---|
5 | int posix_madvise(void *addr, size_t len, int advice)
|
---|
6 | {
|
---|
7 | if (advice == MADV_DONTNEED) return 0;
|
---|
8 | return -__syscall(SYS_madvise, addr, len, advice);
|
---|
9 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.