rpc_set_fault_mode(3ncs) ultrix man page | unix.com

Man Page: rpc_set_fault_mode

Operating Environment: ultrix

Section: 3ncs

rpc_set_fault_mode(3ncs)												  rpc_set_fault_mode(3ncs)

Name
       rpc_set_fault_mode - set the fault-handling mode for a server (server only)

Syntax
       #include <idl/c/rpc.h>

       unsigned long rpc_$set_fault_mode(state)
       unsigned long state;

Arguments
       state  If `true' (not zero), the server exits when a fault occurs.  If `false' (zero), the server reflects faults back to the client.

Description
       The function controls the handling of faults that occur in user server routines.

       In  the default mode, the server reflects faults back to the client and continues processing.  Calling with value other than zero for state
       sets the fault-handling mode so that the server sends an rpc_$comm_failure fault back to the client and exits.  Calling with state equal to
       zero resets the fault-handling mode to the default.

       This function returns the previous state of the fault-handling mode.

Diagnostics
       This section lists status codes for errors returned by this routine.

       rpc_$not_in_call    An internal error.

       rpc_$proto_error    An internal protocol error.

Files
See Also
       intro(3ncs)

															  rpc_set_fault_mode(3ncs)
Related Man Pages
rpc_allow_remote_shutdown(3ncs) - ultrix
rpc_bind(3ncs) - ultrix
rpc_clear_binding(3ncs) - ultrix
rpc_inq_binding(3ncs) - ultrix
rpc_unregister(3ncs) - ultrix
Similar Topics in the Unix Linux Community
A short history of UNIX by l.madden@ic.ac.uk
PHP Write Man Pages to MySQL DB