![]() |
Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
|
Provide a compatible anonymous space mapping function. More...
Functions | |
void * | mmap_anon (void *addr, size_t len, int prot, int flags, off_t offset) |
mmap() anonymous space, depending on the system's mmap() style. On systems that use the /dev/zero mapping idiom, zerofd will be set to the file descriptor of the opened /dev/zero. More... | |
Provide a compatible anonymous space mapping function.
mmap() anonymous space, depending on the system's mmap() style. On systems that use the /dev/zero mapping idiom, zerofd will be set to the file descriptor of the opened /dev/zero.
addr | address to map at. |
len | number of bytes from addr to be mapped. |
prot | protections (region accessibility). |
flags | specifies the type of the mapped object. |
offset | start mapping at byte offset. |
zerofd |