getrpcent.3c (2010 09)

g
getrpcent(3C) getrpcent(3C)
int 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
implementations 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).
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: September 2010