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


CREDIT
This document is a part of the SCore cluster system software developed at PC Cluster Consortium, Japan. Copyright (C) 2003 PC Cluster Consortium.