Create a context.
#include <mm/renderer.h>
mmr_context_t* mmr_context_create( mmr_connection_t *connection, const char *name, unsigned flags, mode_t mode )
Create and open a new context with the specified name. Fail if a context with that name already exists. The name must be a valid filename and will show up in the pathname space, with its file mode flags set as specified by the mode argument. For more information about contexts, see "Working with contexts".
A handle on success, or a null pointer on failure (check errno).
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |