1 #ifndef SYS_MMAN_H 2 #define SYS_MMAN_H 3 4 #include "../../../include/sys/mman.h" 5 6 hidden void __vm_wait(void); 7 hidden void __vm_lock(void); 8 hidden void __vm_unlock(void); 9 10 hidden void *__mmap(void *, size_t, int, int, int, off_t); 11 hidden int __munmap(void *, size_t); 12 hidden void *__mremap(void *, size_t, size_t, int, ...); 13 hidden int __madvise(void *, size_t, int); 14 hidden int __mprotect(void *, size_t, int); 15 16 hidden const unsigned char *__map_file(const char *, size_t *); 17 18 hidden char *__shm_mapname(const char *, char *); 19 20 #endif 21