about summary refs log tree commit diff
path: root/src/mman/madvise.c
blob: e0c7c0ec92b81782fdb6424f842756d434e63881 (plain) (blame)
1
2
3
4
5
6
7
8
9
#include <sys/mman.h>
#include "syscall.h"

int __madvise(void *addr, size_t len, int advice)
{
	return syscall(SYS_madvise, addr, len, advice);
}

weak_alias(__madvise, madvise);