SBL_Parent returns process id and node of parent process.


error = SBL_Parent(NodeId *parentNode, SBL_Squid *parentSquid)


OUT NodeId *parentNode: returns node of parent process. OUT SBL_Squid *parentSquid: returns process id of parent process.


SBL_Parent returns node and process id of the caller's parent process.

This call is guaranteed to work only if the caller process has been started with SBL_Spawn. In that case, the parent process is the process that executed SBL_Spawn to create the caller.

Return Values:

SBL_Parent returns 0 on success or negative error code on failure.
Copyright (c) 1995, Princeton University