rpc_shutdown(3ncs)rpc_shutdown(3ncs)Namerpc_shutdown - shut down a server (server only)
Syntax
#include <idl/c/rpc.h>
void rpc_$shutdown(status)
status_$t *status;
Arguments
status The completion status. If the completion status returned in is
equal to status_$ok , then the routine that supplied it was suc‐
cessful.
Description
The routine shuts down a server. When this routine is executed, the
server stops processing incoming calls and returns.
If is called from within a remote procedure, that procedure completes,
and the server shuts down after replying to the caller.
Diagnostics
This section lists status codes for errors returned by this routine in
rpc_$comm_failure The call could not be completed due to a communica‐
tion problem.
rpc_$not_in_call An internal error.
rpc_$proto_error An internal protocol error.
FilesSee Alsointro(3ncs), rpc_allow_remote_shutdown(3ncs), rpc_listen(3ncs),
rrpc_shutdown(3ncs)rpc_shutdown(3ncs)