| PMDETACHCONTEXT(3) | PMDETACHCONTEXT(3) |
int pmDetachContext(pmContext *pmc);
pmContext * |
pmc |
pmContext object |
pmDetachContext() detaches a pmContext object
from the calling process and frees it.
ref_count is decremented and if it is equal to zero the
context is actually detached.
PM_SUCCESS |
Success |
EINVAL |
Not a pmAttachContext() context |
EIO |
Internal error |