1 .\" This page was taken from the 4.4BSD-Lite CDROM (BSD license)
3 .\" @(#)getrpcport.3r 2.2 88/08/02 4.0 RPCSRC; from 1.12 88/02/26 SMI
5 .\" Japanese Version Copyright (c) 1999 HANATAKA Shinya
6 .\" all rights reserved.
7 .\" Translated Tue Jan 11 00:56:31 JST 2000
8 .\" by HANATAKA Shinya <hanataka@abyss.rim.or.jp>
10 .TH GETRPCPORT 3 2007-12-23 "" "Linux Programmer's Manual"
13 .\"O getrpcport \- get RPC port number
14 getrpcport \- RPC ポート番号を取得する
18 .BI "int getrpcport(char *" host ", int " prognum ", int " versnum \
24 .\"O returns the port number for version
26 .\"O of the RPC program
30 .\"O and using protocol
41 .\"O It returns 0 if it cannot contact the portmapper, or if
43 .\"O is not registered.
46 .\"O is registered but not with version
48 .\"O it will still return a port number (for some version of the program)
49 .\"O indicating that the program is indeed registered.
50 .\"O The version mismatch will be detected upon the first call to the service.
57 でない場合にも、そのプログラムが実際に登録されていることを示すために
58 (そのプログラムのバージョンの)ポート番号を返す。
59 バージョンの不一致は最初にそのサービスを呼び出した時に検出される。
60 .\"O .SH "CONFORMING TO"
62 .\"O Not in POSIX.1-2001.
63 .\"O Present on the BSDs, Solaris, and many other systems.
65 BSD 系、Solaris や他の多くのシステムに存在する。