HP-UX Reference (11i v2 04/09) - 3 Library Functions N-Z (vol 7)
r
rpc_svc_create(3N) rpc_svc_create(3N)
itself with the rpcbind service. dispatch is called when there is a remote procedure call for the
given prognum and versnum; this requires calling
svc_run(). svc_tp_create()
returns the
service handle if it succeeds, otherwise a
NULL
is returned and an error message is logged.
SVCXPRT *svc_vc_create()
This routine creates a connection-oriented RPC service and returns a pointer to it. This routine
returns
NULL if it fails, and an error message is logged. The users may specify the size of the send
and receive buffers with the parameters sendsz and recvsz; values of
0 choose suitable defaults. The
file descriptor fildes should be open and bound. The server is not registered with the rpcbind (1M)
service.
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), rpc(3N), rpc_svc_calls(3N), rpc_svc_err(3N), rpc_svc_reg(3N).
HP-UX 11i Version 2: September 2004 − 3 − Hewlett-Packard Company Section 3−−923