scrmem_create()

Allocate a new Screen memory handle

Synopsis:

#include <scrmem/scrmem_create.h>
__errno_t scrmem_create(struct scrmem **scrmem_out, const struct scrmem_attr *attr)

Arguments:

scrmem_out
A pointer to a location where this function, on success, stores a new handle.
attr
The attributes to use for the new handle.

Library:

libscrmem

Description:

The scrmem_create() function allocates a new Screen memory handle.

Returns:

EOK
*scrmem_out was filled.
ENOMEM
No memory.
Page updated: