bproc_masteraddr¶
Name¶
bproc_masteraddr – Get the private cluster network IP address for the master node.
Synopsis¶
#include <sys/bproc.h>
int bproc_masteraddr (struct sockaddr * addr, int * size);
Arguments¶
addrpointer to a
struct sockaddrsizeThe size of
addr
Description¶
Save the master node’s IP address in the struct sockaddr pointed to
by addr. size should be initialized to indicate the amount of
space pointed to by addr. On return it contains the actual size of
the addr returned (in bytes).
Errors¶
- EFAULT
 addrorsizepoints to memory that is not accessible by the program.- EIO
 There was an I/O error.
- ENOMEM
 Out of memory error.