| PMCLOSECONTEXT(3) | PMCLOSECONTEXT(3) | 
int pmCloseContext(pmContext *pmc);
| pmContext * | pmc | pmContextobject | 
pmCloseContext() frees a pmContext object.
ref_count is decremented and if it is equal to zero the context
is actually closed.
| PM_SUCCESS | Success | 
| EINVAL | Not a pmOpenContextcontext | 
| EIO | Internal error |