bproc_pidnode

Name

bproc_pidnode -- return the node that a process exists on

Synopsis

#include <sys/bproc.h>

int bproc_pidnode( int pid );

Description

bproc_pidnode returns the process ID that pid is exists on or BPROC_NODE_MASTER if pid is on the front end. If a process ID doesn't exist, bproc_pidnode will return BPROC_NODE_MASTER.

Errors

EBUSY

The BProc system is not running.

See Also

bproc_proclist(2)