|
NAMEgetrpcent , getrpcbyname ,
getrpcbynumber , endrpcent ,
setrpcent —
get RPC entry
LIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <rpc/rpc.h>
struct rpcent *
struct rpcent *
struct rpcent *
void
void
DESCRIPTIONThegetrpcent (), getrpcbyname (),
and getrpcbynumber () functions each return a pointer
to an object with the following structure containing the broken-out fields of
a line in the rpc program number data base, /etc/rpc:
struct rpcent { char *r_name; /* name of server for this rpc program */ char **r_aliases; /* alias list */ long r_number; /* rpc program number */ }; The members of this structure are:
The The The The FILES
DIAGNOSTICSANULL pointer is returned on
EOF or error.
SEE ALSOrpc(5), rpcinfo(8), ypserv(8)BUGSAll information is contained in a static area so it must be copied if it is to be saved.
Visit the GSP FreeBSD Man Page Interface. |