wayland.util.shm_helper

Undocumented in source.

Members

Functions

createMmapableFile
int createMmapableFile(size_t size)

Create a file of the given size suitable for mmap. The file is created under XDG_RUNTIME_DIR and should therfore not be backed stored on disk. The shared memory object will be freed by the kernel when it is closed and no more mapping is alive.

Meta