rrpc_are_you_there.3ncs

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 3NCS 代码 · 共 54 行

3NCS
54
字号
.TH rrpc_are_you_there .SH Namerrpc_are_you_there \- check whether a server is answering requests.SH Format.NXR ".NXR "Remote Remote Procedure Call Interface "rrpc_are_you_there".nf\fB#include <rrpc.h>\fR.sp\fBvoid rrpc_$are_you_there(\fR \fIhandle\fB,\fR *\fIstatus\fB)\fR.nf\fBhandle_t \fIhandle\fP;\fBstatus_$t *\fIstatus\fP;.fi.SH Arguments.TP 20\fIhandle\fRA remote procedure call (RPC) handle..TP 20\fIstatus\fRThe completion status..SH DescriptionThe .PN rrpc_$are_you_therecall checks whether a server is answering requests..SH RestrictionsOn the client side, because of the way the.PN rrpc_calls are defined and implementedin the run-time library .PN libnck.a ,you must explicitly callinto the entry point vector table for the .PN rrpc_interface tosend an .PN rrpc_request across the network. Thefollowing is an example of a call that worksas desired..EX(*rrpc_$client_epv.rrpc_$are_you_there)(handle, &status);.EE.PPThe server side stub routine calls the entry point .PN rrpc_$are_you_thereon behalf of the client.  The results of the call are thenpassed back to the client..SH Files.PN /usr/include/idl/c/rrpc.h.br.PN /usr/include/idl/rrpc.idl.SH See Alsointro(3ncs)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?