HP-UX Reference (11i v1 05/09) - 3 Library Functions N-Z (vol 7)

r
rpcbind(3N) rpcbind(3N)
must correspond to a network identifier that is defined by the netconfig database. This routine
returns TRUE if it succeeds, FALSE otherwise. (See also
svc_reg() in rpc_svc_calls(3N)). If there
already exists such an entry with
rpcbind,
rpcb_set() will fail.
bool_t rpcb_unset()
An interface to the rpcbind service, which destroys the mapping between the triple [prognum, vers-
num, netconfnc_netid] and the address on the machine’s
rpcbind service. If netconf is
NULL,
rpcb_unset() destroys all mapping between the triple [prognum, versnum, all-transports] and
the addresses on the machine’s
rpcbind service. This routine returns TRUE if it succeeds, FALSE
otherwise. Only the owner of the service or the super-user can destroy the mapping. (See also
svc_unreg() in rpc_svc_calls(3N)).
MULTITHREAD USAGE
Thread Safe: Yes
Cancel Safe: Yes
Fork Safe: No
Async-cancel Safe: No
Async-signal Safe: No
These functions can be called safely in a multithreaded environment. They may be cancellation points in
that they call functions that are cancel points.
In a multithreaded environment, these functions are not safe to be called by a child process after
fork()
and before exec(). These functions should not be called by a multithreaded application that support
asynchronous cancellation or asynchronous signals.
SEE ALSO
rpcbind(1M), rpcinfo(1M), rpc_clnt_calls(3N), rpc_svc_calls(3N).
Section 3850 Hewlett-Packard Company 2 HP-UX 11i Version 1: September 2005