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

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man3/nan.3m
________________________________________________________________
___ ___
r
rpc_svc_reg(3N) rpc_svc_reg(3N)
The svc_auth_reg() routine returns 0 if the registration is successful, 1 if cred_flavor already
has an authentication handler registered for it, and -1 otherwise.
void xprt_register()
After RPC service transport handle xprt is created, it is registered with the RPC service package.
This routine modifies the global variable svc_fdset (see rpc_svc_calls(3N)). Service implementors
usually do not need this routine.
void xprt_unregister()
Before an RPC service transport handle xprt is destroyed, it unregisters itself with the RPC service
package. This routine modifies the global variable svc_fdset (see rpc_svc_calls(3N)). Service
implementors usually do not need this routine.
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 cancellationor asynchronous signals.
SEE ALSO
inetd(1M), rpcbind(1M), rpc(3N), rpc_svc_calls(3N), rpc_svc_create(3N), rpc_svc_err(3N), rpcbind(3N),
select(2).
HP-UX Release 11i: December 2000 2 Section 3813
___
___