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

r
rpc_svc_create(3N) rpc_svc_create(3N)
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) ser-
vice.
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).
356 Hewlett-Packard Company − 3 − HP-UX 11i Version 2: December 2007 Update