Close a context.
int mmr_context_close(mmr_context_t *ctxt)
A context handle.
Library:libmmrndclient (For the qcc command, use the -l mrndclient option to link against this library)
Close and invalidate the context handle. The handle is always closed and becomes invalid, even if the function returns an error.
If a primary handle (which was returned by mmr_context_create()) is passed in, the associated context is destroyed, and the function fails and sets the global variable errno to EPERM.
Zero on success, -1 on failure (check errno). The handle becomes invalid either way.
Last modified: 2014-06-24