mmr_context_close()

Close a context.

Synopsis:

#include <mm/renderer.h>
int mmr_context_close( mmr_context_t *ctxt )

Arguments:

ctxt
A context handle.

Library:

mmrndclient

Description:

Close and invalidate the context handle. The handle passed to mmr_context_close() always gets closed and becomes invalid, even if the function returns an error. For more information about context handles, see Working with contexts.

Returns:

Zero on success, -1 on failure (check errno). The handle becomes invalid either way.

Classification:

QNX Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread Yes