centos man page for rpc_localaddr

Query: rpc_localaddr

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

RPC_LOCALADDR(9)						 Linux Networking						  RPC_LOCALADDR(9)

NAME
rpc_localaddr - discover local endpoint address for an RPC client
SYNOPSIS
int rpc_localaddr(struct rpc_clnt * clnt, struct sockaddr * buf, size_t buflen);
ARGUMENTS
clnt RPC client structure buf target buffer buflen size of target buffer, in bytes
DESCRIPTION
Returns zero and fills in "buf" and "buflen" if successful; otherwise, a negative errno is returned. This works even if the underlying transport is not currently connected, or if the upper layer never previously provided a source address.
THE RESULT OF THIS FUNCTION CALL IS TRANSIENT
multiple calls in succession may give different results, depending on how local networking configuration changes over time.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 RPC_LOCALADDR(9)
Related Man Pages
getrpcbyname_r(3) - linux
getrpcent_r(3) - linux
getrpcbyname_r(3) - debian
getrpcent_r(3) - suse
getrpcent_r(3) - minix
Similar Topics in the Unix Linux Community
Set hard block limit for user using quota
Best performance UNIX just for HOST Virtualization?
How to increment version inside a file?
Controlling user input
[TIP] Processing YAML files with yq