Returns the local node id
#include <corosync/cpg.h>
int cpg_local_get(cpg_handle_t handle, unsigned int *local_nodeid);
The cpg_local_get function is used to determine the local node's identifier.
The argument handle is used to reference the cpg instantiation. The argument local_nodeid will return the 32 bit node id.
The errors are undocumented.