summaryrefslogtreecommitdiff
path: root/src/sys/mman/mmap.c
blob: 85049ab605a04aef036d2cab061b4858837af500 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <sys/types.h>
#include <sys/mman.h>
#include "_syscall.h"

void *mmap(void *addr, size_t len, int prot, int flags, int fildes, off_t off)
{
	SYSCALL(mmap, void*, MAP_FAILED, addr, len, prot, flags, fildes, off);
}

/*
XOPEN(400)
POSIX(199309)
*/