summaryrefslogtreecommitdiff
path: root/lib/libc/mman/msync.c
blob: c25a18e7d952f6cf43ceda794cee62b44feca678 (plain)
1
2
3
4
5
6
7
8
9
#include "asm/unistd_64.h" // for __NR_msync

#include <stddef.h>  // for size_t
#include <syscall.h> // for __syscall_3, syscall

int msync(void *addr, size_t len, int flags)
{
	return syscall(msync, addr, len, flags);
}