bproc_nodeinfo¶
Name¶
bproc_nodeinfo – Get general status information for a node
Synopsis¶
#include <sys/bproc.h>
int bproc_nodeinfo (int node, struct bproc_node_info_t * info);
Arguments¶
node
The node you want information on.
info
Pointer to a
struct bproc_node_info_t
.
Description¶
This function will get information about the node and fill that
information into the struct bproc_node_info_t
.
struct bproc_node_info_t {
int node; /* Same as bproc_currnode() */
int status; /* Same as bproc_nodestatus() */
int mode; /* The node's access permissions */
uid_t user; /* The uid and gid of the user */
gid_t group; /* to which the node is assigned */
uint32_t addr; /* The node's 32-bit struct sockaddr */
}
See the Administrator’s Guide for more information on the user and group.
Errors¶
- EFAULT
info
points to memory that is inaccessible by the program.- EIO
I/O Error
- ENOMEM
Out of Memory