PMCLOSECONTEXT(3)
PM Programmer's Manual
PMCLOSECONTEXT(3)
NAME
pmCloseContext - free a pmContext object

SYNOPSIS
int pmCloseContext(pmContext *pmc);

ARGUMENTS
pmContext * pmc
IN
pmContext object

IMPLEMENTATION LEVEL
BASE

DESCRIPTION
pmCloseContext() frees a pmContext object.

NOTES
The channel bound to the context is unbound.

INTERNAL
ref_count is decremented and if it is equal to zero the context is actually closed.

RETURN VALUES
PM_SUCCESS Success
EINVAL Not a pmOpenContext context
EIO Internal error


$Id: pmCloseContext.html,v 1.1.1.1 2002/02/12 02:00:13 kameyama Exp $