HP-UX Reference (11i v1 05/09) - 3 Library Functions A-M (vol 6)
g
getrpcent(3C) getrpcent(3C)
long r_number; /* rpc program number */
};
The functions getrpcbyname()
, and getrpcbynumber()
each return a pointer to a struct
rpcent
if they successfully locate the requested entry; otherwise they return NULL.
The function getrpcent() returns a pointer to a
struct rpcent if it successfully enumerates an
entry; otherwise it returns NULL, indicating the end of the enumeration.
WARNINGS
Programs that use the interfaces described in this manual page cannot be linked statically since the imple-
mentations of these functions employ dynamic loading and linking of shared objects at run time.
AUTHOR
getrpcent() was developed by Sun Microsystems, Inc.
FILES
/etc/rpc
/etc/nsswitch.conf
SEE ALSO
rpcinfo(1M), rpc(4), nsswitch.conf(4).
HP-UX 11i Version 1: September 2005 − 2 − Hewlett-Packard Company Section 3−−375