The node number to check.
The mode bits to check against.
A filled-in bproc_node_info structure to check against.
The current user's ability to execute processes on the specified cluster node is checked. The mode parameter specifies the mode bits to check.
See the Administrator's Guide for details of the semantics of node ownership and how the settings interact with schedulers.
If a process may be started on the node, zero is returned.
If the node is not available or there is an error, -1 is returned and errno is set.
The BProc system is not available.
The BProc system is loaded but is not configured or active.
This user does not have permission to start jobs on the node.
Insufficient kernel memory was available.
bproc_chown(3), bproc_chgrp(3), bproc_chmod(3)