aboutsummaryrefslogtreecommitdiff
path: root/include/sys/mman.h
blob: a76c23688fca98e9bcbbe0d8fa50708981c04e67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _SYS_MMAN_H
#include <misc/sys/mman.h>

/* Now define the internal interfaces.  */
extern void *__mmap (void *__addr, size_t __len, int __prot,
		     int __flags, int __fd, __off_t __offset) __THROW;
extern void *__mmap64 (void *__addr, size_t __len, int __prot,
		       int __flags, int __fd, __off64_t __offset) __THROW;
extern int __munmap (void *__addr, size_t __len) __THROW;
extern int __mprotect (void *__addr, size_t __len, int __prot) __THROW;

/* This one is Linux specific.  */
extern void *__mremap (void *__addr, size_t __old_len,
		       size_t __new_len, int __may_move) __THROW;
#endif