PMADDNODE(3)
PM Programmer's Manual
PMADDNODE(3)
NAME
pmAddNode - add a node

SYNOPSIS
int pmAddNode(pmContext *pmc, int node, pmContext *member_pmc, int member_node);

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

IMPLEMENTATION LEVEL
DEVICE DEPENDENT

DESCRIPTION
pmAddNode() sets member_node in member_pmc for node in pmc.

NOTES
Only PM_COMPOSITE contexts supports this operation.

RETURN VALUES
PM_SUCCESS Success
EINVAL Invalid node number
EBUSY member_pmc is associated with another context
node is already associated with some context
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.