23 #ifndef _LIBRETRO_MEMMAP_H 24 #define _LIBRETRO_MEMMAP_H 29 #if defined(__CELLOS_LV2__) || defined(PSP) || defined(PS2) || defined(GEKKO) || defined(VITA) || defined(_XBOX) || defined(_3DS) || defined(WIIU) || defined(SWITCH) 31 #elif defined(_WIN32) && !defined(_XBOX) 40 #if !defined(HAVE_MMAN) || defined(_WIN32) 41 void*
mmap(
void *
addr,
size_t len,
int mmap_prot,
int mmap_flags,
int fildes,
size_t off);
GLuint start
Definition: glext.h:6292
GLenum GLsizei len
Definition: glext.h:7389
int mprotect(void *addr, size_t len, int prot)
Definition: memmap.c:124
GLenum const GLvoid * addr
Definition: glext.h:10528
void * mmap(void *addr, size_t len, int prot, int flags, int fildes, size_t offset)
Definition: memmap.c:112
GLuint GLuint end
Definition: glext.h:6292
int memprotect(void *addr, size_t len)
Definition: memmap.c:160
int memsync(void *start, void *end)
Definition: memmap.c:137
int munmap(void *addr, size_t len)
Definition: memmap.c:118