scrmem_get_memobj()

Get the memory object associated with a Screen memory handle

Synopsis:

#include <scrmem/scrmem.h>
struct memobj * scrmem_get_memobj(const struct scrmem *scrmem)

Arguments:

scrmem
A Screen memory handle.

Library:

libscrmem

Description:

The scrmem_get_memobj() function gets the memory object associated with a Screen memory handle.

You can use the returned object to map memory and obtain physical addresses; refer to memobj/memobj.h.

This object is automatically closed on scrmem_close(); locks and mappings created from it get deleted.

Returns:

A handle to a memory object.

Page updated: