Use Linux 5.19 in build-many-glibcs.py
[glibc.git] / include / sys / mman.h
blob503edaae88b1845e50429c394f50b17aa789dae7
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 libc_hidden_proto (__mmap)
9 extern void *__mmap64 (void *__addr, size_t __len, int __prot,
10 int __flags, int __fd, __off64_t __offset);
11 libc_hidden_proto (__mmap64)
12 extern int __munmap (void *__addr, size_t __len);
13 libc_hidden_proto (__munmap)
14 extern int __mprotect (void *__addr, size_t __len, int __prot);
15 libc_hidden_proto (__mprotect)
17 extern int __madvise (void *__addr, size_t __len, int __advice);
18 libc_hidden_proto (__madvise)
20 /* This one is Linux specific. */
21 extern void *__mremap (void *__addr, size_t __old_len,
22 size_t __new_len, int __flags, ...);
23 libc_hidden_proto (__mremap)
25 # if IS_IN (rtld)
26 # include <dl-mman.h>
27 # endif
28 #endif
30 #endif