📄 getrpcport.3r
字号:
.\" @(#)getrpcport.3r 2.2 88/08/02 4.0 RPCSRC; from 1.12 88/02/26 SMI.TH GETRPCPORT 3R "6 October 1987".SH NAMEgetrpcport \- get RPC port number.SH SYNOPSIS.ft B.nfint getrpcport(host, prognum, versnum, proto) char *host; int prognum, versnum, proto;.fi.SH DESCRIPTION.IX getrpcport "" "\fLgetrpcport\fR \(em get RPC port number".B getrpcport(\|)returns the port number for version.I versnumof the RPC program.I prognumrunning on.I hostand using protocol.IR proto .It returns 0 if it cannot contact the portmapper, or if.I prognumis not registered. If.I prognumis registered but not with version.IR versnum ,it will still return a port number (for some version of the program)indicating that the program is indeed registered.The version mismatch will be detected upon the first call to the service.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -