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¶
addr
pointer to a
struct sockaddr
size
The 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
addr
orsize
points to memory that is not accessible by the program.- EIO
There was an I/O error.
- ENOMEM
Out of memory error.