summaryrefslogtreecommitdiffstats
path: root/src/platform/unix.c
blob: 01161fc36934527eb8a6022c68143a05bf81d4fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "platform.h"

void *cc4group_mmap(void *start, size_t length, int prot, int flags, int fd, off_t offset)
{
	return mmap(start, length, prot, flags, fd, offset);
}

int cc4group_munmap(void *addr, size_t length)
{
	return munmap(addr, length);
}

char* cc4group_absolutePath(const char* path)
{
	return realpath(path, NULL);
}