about summary refs log tree commit diff
path: root/include/sys/mman.h
blob: 3a6c33a354f6be7c56839034084dbd640752f4a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include_next <sys/mman.h>

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

/* This one is Linux specific.  */
extern __ptr_t __mremap __P ((__ptr_t __addr, size_t __old_len,
			    size_t __new_len, int __may_move));