HP-UX Reference (11i v2 03/08) - 3 Library Functions N-Z (vol 7)
r
rpcbind(3N) rpcbind(3N)
versnum, netconf→→nc_netid] and svcaddr on the machine’s
rpcbind service. The value of nc_netid
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,
versnum, netconf→→nc_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 map-
ping. (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).
HP-UX 11i Version 2: August 2003 − 2 − Hewlett-Packard Company Section 3−−883