summaryrefslogtreecommitdiff
path: root/src/mman/msync.c
blob: e0926470ad37f10011ca442e3bd20ab05c92e9c2 (plain)
1
2
3
4
5
6
7
8
#include <unistd.h>
#include <sys/mman.h>
#include "syscall.h"

int msync(void *start, size_t len, int flags)
{
	return syscall3(__NR_msync, (long)start, len, flags);
}