HP-UX Reference (11i v1 00/12) - 3 Library Functions A-M (vol 6)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man3/!!!intro.3c
________________________________________________________________
___ ___
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 Release 11i: December 2000 2 Section 3345
___
___