Returns the node number of the machine on which this process is currently running. The value BPROC_NODE_MASTER, -1, indicates that the process is running on the master.
This function will return -1 if there is an error in processing, or if you are on the master node. If there is the possibility of ambiguity, the errno variable should be initialized to zero before the call and checked for errors after the call.
The BProc system is not available.
The BProc system is loaded, but is not configured or active.
Insufficient kernel memory was available to return a value.