rpc_unregister.3ncs
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 3NCS 代码 · 共 83 行
3NCS
83 行
.TH rpc_unregister 3ncs.SH Namerpc_unregister \- unregister an interface (server only).SH Syntax.nf#include <idl/c/rpc.h>void rpc_$unregister(\fIifspec, status\fP)rpc_$if_spec_t *\fIifspec\fP;status_$t *\fIstatus\fP;.fi.\".SH SYNOPSIS (PASCAL).\".DS.\"\fB%include '/usr/include/idl/pas/rpc.ins.pas'\fR.\".\"\fBprocedure rpc_$unregister(\fR.\" \fBin \fIifspec\fB: rpc_$if_spec_t;\fR.\" \fBout \fIstatus\fB: status_$t);\fR.\".DE.SH Arguments.TP 20\fIifspec\fRAn \fBrpc_$if_spec_t\fR.An interface specifier obtained from a previous RPC register call. Theinterface being unregistered. .TP 20\fIstatus\fRThe completion status.If the completion status returned in.PN status\&.allis equal to.B status_$ok ,then the routine that supplied it was successful..SH DescriptionThe .PN rpc_$unregisterroutine unregisters an interface that the server previously registered with the RPC runtime library..NXR "Interface to the Remote Procedure Call" "rpc_unregister" After an interface is unregistered,the RPC runtime library will not pass requestsfor that interface to the server..PPIf a server uses several.PN rpc_$registeror.PN rpc_$register_mgrroutines to register an interface more than once, then it must call .PN rpc_$unregisteran equal number of times to unregister the interface..SH ExamplesThe following statement unregisters a matrix arithmetic interface:.EXrpc_$unregister (&matrix_$if_spec, &status);.EE.SH DiagnosticsThis section lists status codes for errors returned by this.PN rpc_$routine in.PN status\&.all ..TP 20\fBrpc_$op_rng_error\fRThe requested operation does not correspond to a valid operation in the requested interface..TP 20\fBrpc_$unk_if\fRThe requested interface is not known.It is not registered in the server,the version number of the registered interface isdifferent from the version number specified in the request,or the UUID in the request does not match the UUID of the registered interface..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), rpc_register(3ncs), rpc_register_mgr(3ncs), rpc_register_object(3ncs)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?