rpc_set_fault_mode.3ncs
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 3NCS 代码 · 共 61 行
3NCS
61 行
.TH rpc_set_fault_mode 3ncs.SH Namerpc_set_fault_mode \- set the fault-handling mode for a server (server only).SH Syntax.nf#include <idl/c/rpc.h>unsigned long rpc_$set_fault_mode(\fIstate\fP)unsigned long \fIstate\fP;.fi.\".SH SYNOPSIS (PASCAL).\".DS.\"\fB%include '/usr/include/idl/pas/rpc.ins.pas'\fR.\".\"\fBfunction rpc_$set_fault_mode(\fR.\" \fBin \fIon\fB: unsigned32): unsigned32;\fR.\".DE.SH Arguments.TP\fIstate\fRIf `true' (not zero), the server exits when a fault occurs. If `false' (zero),the server reflects faults back to the client..SH DescriptionThe .PN rpc_$set_fault_modefunction controls the handling of faults that occur in user server routines..NXR "Interface to the Remote Procedure Call" "rpc_set_fault_mode".PPIn the default mode,the server reflects faults back to the client and continues processing.Calling .PN rpc_$set_fault_modewith value other than zero for \fIstate\fRsets the fault-handling mode so thatthe server sends an .B rpc_$comm_failurefault back to the client and exits.Calling .PN rpc_$set_fault_modewith \fIstate\fR equal to zeroresets the fault-handling mode to the default..PPThis function returns the previous state of the fault-handling mode..SH DiagnosticsThis section lists status codes for errors returned by this.PN rpc_$routine..TP 20\fBrpc_$not_in_call\fRAn internal error..TP 20\fBrpc_$proto_error\fRAn internal protocol error..SH Files.PN /usr/include/idl/c/rpc.h.br.PN /usr/include/idl/rpc.idl.SH See Alsointro(3ncs)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?