summaryrefslogtreecommitdiff
path: root/src/include/sys/mman.h
blob: 28394dd5499861d9a6988c5718fc751daf947dbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef SYS_MMAN_H
#define SYS_MMAN_H

#include "../../../include/sys/mman.h"

void __vm_wait(void);
void __vm_lock(void);
void __vm_unlock(void);

void *__mmap(void *, size_t, int, int, int, off_t);
int __munmap(void *, size_t);
void *__mremap(void *, size_t, size_t, int, ...);
int __madvise(void *, size_t, int);
int __mprotect(void *, size_t, int);

const unsigned char *__map_file(const char *, size_t *);

char *__shm_mapname(const char *, char *);

#endif