mmr_context_close()
Close a context handle
Synopsis:
#include <renderer.h> int mmr_context_close( mmr_context_t *ctxt );
Arguments:
- ctxt
- A context handle.
Library:
mmrndclient
Description:
The function mmr_context_close() closes the specified context handle. The handle passed to mmr_context_close() always gets closed and becomes invalid, even if the function returns an error.
Depending on the configuration settings, mm-renderer might also destroy the context referenced by the handle. In this case, mmr_context_close() returns -1 and also sets the global variable errno to EPERM.
For more information about contexts and context handles, see Working with contexts .
Returns:
- 0
- Success.
- -1
- An error occurred. In the case of an error, the global variable errno is set.
Classification:
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |