Define IPPORT_RESERVED in netdb.h for XPG4 and UNIX98 (bug 14838).
[glibc.git] / include / sys / mman.h
blobfd125ecb9c0fcdbcb83930cfc3a0d9e06f461675
1 #ifndef _SYS_MMAN_H
2 #include <misc/sys/mman.h>
4 #ifndef _ISOMAC
5 /* Now define the internal interfaces. */
6 extern void *__mmap (void *__addr, size_t __len, int __prot,
7 int __flags, int __fd, __off_t __offset);
8 extern void *__mmap64 (void *__addr, size_t __len, int __prot,
9 int __flags, int __fd, __off64_t __offset);
10 extern int __munmap (void *__addr, size_t __len);
11 extern int __mprotect (void *__addr, size_t __len, int __prot);
13 extern int __madvise (void *__addr, size_t __len, int __advice);
14 libc_hidden_proto (__madvise)
16 /* This one is Linux specific. */
17 extern void *__mremap (void *__addr, size_t __old_len,
18 size_t __new_len, int __flags, ...);
19 #endif
21 #endif