PMGETSELF(3)
PM Programmer's Manual
PMGETSELF(3)
NAME
pmGetSelf - get the node number of itself in a context

SYNOPSIS
int pmGetSelf(pmContext *pmc, int *selfp);

ARGUMENTS
pmContext * pmc
IN
pmContext object
int * selfp
OUT
Node number of itself

IMPLEMENTATION LEVEL
BASE

DESCRIPTION
pmGetSelf() returns a node number of itself in context pmc.

RETURN VALUES
PM_SUCCESS Success
EINVAL Node number is not set