PMEXTRACTNODE(3)
PM Programmer's Manual
PMEXTRACTNODE(3)
NAME
pmExtractNode - extract a member context and member node number

SYNOPSIS
int pmExtractNode(pmContext *pmc, int node, pmContext **member_pmcp, int *member_nodep);

ARGUMENTS
pmContext * pmc
IN
pmContext object: must be a PM_COMPOSITE type
int node
IN
Node number in pmc
pmContext ** member_pmcp
OUT
Member context
int * member_nodep
OUT
Node in member context

IMPLEMENTATION LEVEL
DEVICE DEPENDENT

DESCRIPTION
pmExtractNode() extracts a member context and a member node number of node in pmc.

NOTES
Only PM_COMPOSITE contexts supports this operation.

RETURN VALUES
PM_SUCCESS Success
EINVAL Invalid node number
No context is associated with node
ENOSYS Operation not supported


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