.\"
.TH GETRPCENT 3 2008-08-19 "" "Linux Programmer's Manual"
.\"O .SH NAME
-.SH ̾Á°
+.SH 名前
.\"O getrpcent, getrpcbyname, getrpcbynumber, setrpcent, endrpcent \- get
.\"O RPC entry
getrpcent, getrpcbyname, getrpcbynumber, setrpcent, endrpcent \-
-RPC ¥¨¥ó¥È¥ê¤ò¼èÆÀ¤¹¤ë
+RPC エントリを取得する
.\"O .SH SYNOPSIS
-.SH ½ñ¼°
+.SH 書式
.nf
.B #include <netdb.h>
.BI "void endrpcent(void);"
.fi
.\"O .SH DESCRIPTION
-.SH ÀâÌÀ
+.SH 説明
.LP
.BR getrpcent (),
.BR getrpcbyname (),
.\"O each return a pointer to an object with the
.\"O following structure containing the broken-out
.\"O fields of an entry in the RPC program number data base.
-¤Ï¤½¤ì¤¾¤ì°Ê²¼¤Î¹½Â¤ÂΤؤΥݥ¤¥ó¥¿¤òÊÖ¤¹¡£
-¤³¤Î¹½Â¤ÂÎ¤Ï RPC ¥×¥í¥°¥é¥àÈÖ¹æ¥Ç¡¼¥¿¥Ù¡¼¥¹
-¤Î³Æ¹Ô¤Î¥Õ¥£¡¼¥ë¥É¤ò´Þ¤ó¤Ç¤¤¤ë¡£
+はそれぞれ以下の構造体へのポインタを返す。
+ã\81\93ã\81®æ§\8bé\80 ä½\93ã\81¯ RPC ã\83\97ã\83ã\82°ã\83©ã\83 ç\95ªå\8f·ã\83\87ã\83¼ã\82¿ã\83\99ã\83¼ã\82¹
+の各行のフィールドを含んでいる。
.in +4n
.nf
.in
.LP
.\"O The members of this structure are:
-¤³¤Î¹½Â¤ÂΤΥá¥ó¥Ð¡¼¤Ï°Ê²¼¤ÎÄ̤ꡣ
+この構造体のメンバーは以下の通り。
.RS 4
.TP 12
.I r_name
.\"O The name of the server for this RPC program.
-¤³¤Î RPC ¥×¥í¥°¥é¥à¤Î¥µ¡¼¥Ð¤Î̾Á°
+この RPC プログラムのサーバの名前
.TP
.I r_aliases
.\"O A zero terminated list of alternate names for the RPC program.
-RPC ¥×¥í¥°¥é¥à¤ÎÊÌ̾¤Î¥ê¥¹¥È¡£¥¼¥í¤Ç½ªÃ¼¤µ¤ì¤Æ¤¤¤ë¡£
+RPC プログラムの別名のリスト。ゼロで終端されている。
.TP
.I r_number
.\"O The RPC program number for this service.
-¤³¤Î¥µ¡¼¥Ó¥¹¤Î RPC ¥×¥í¥°¥é¥àÈֹ档
+このサービスの RPC プログラム番号。
.RE
.LP
.\"O .BR getrpcent ()
.\"O reads the next entry from the database.
.\"O A connection is opened to the database if necessary.
.BR getrpcent ()
-¤Ï¥Õ¥¡¥¤¥ë¤Î¼¡¤Î¥¨¥ó¥È¥ê¤òÆɤ߹þ¤à¡£
-ɬÍפʤé¤Ð¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ø¤ÎÀܳ¤¬¥ª¡¼¥×¥ó¤µ¤ì¤ë¡£
+はファイルの次のエントリを読み込む。
+必要ならばデータベースへの接続がオープンされる。
.LP
.\"O .BR setrpcent ()
.\"O function opens a connection to the database,
.\"O .BR getrpc* ()
.\"O functions.
.BR setrpcent ()
-¤Ï¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ø¤ÎÀܳ¤ò¥ª¡¼¥×¥ó¤·¡¢
-¼¡¤ÎÆɤ߹þ¤ß¥¨¥ó¥È¥ê¤òÀèƬ¤Î¥¨¥ó¥È¥ê¤ËÀßÄꤹ¤ë¡£
-\fIstayopen\fP ¤¬ 0 ¤Ç¤Ê¤¤¾ì¹ç¡¢
-°ì¤Ä°ì¤Ä¤Î
+はデータベースへの接続をオープンし、
+次の読み込みエントリを先頭のエントリに設定する。
+\fIstayopen\fP が 0 でない場合、
+一つ一つの
.BR getrpc* ()
-´Ø¿ô¤Î¸Æ¤Ó½Ð¤·´Ö¤Ç¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ø¤ÎÀܳ¤ò¥¯¥í¡¼¥º¤·¤Ê¤¤¡£
+関数の呼び出し間でデータベースへの接続をクローズしない。
.LP
.\"O The
.\"O .BR endrpcent ()
.\"O function closes the connection to the database.
.BR endrpcent ()
-¤Ï¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ø¤ÎÀܳ¤ò¥¯¥í¡¼¥º¤¹¤ë¡£
+はデータベースへの接続をクローズする。
.LP
.\"O .BR getrpcbyname ()
.\"O and
.\"O of the file until a matching RPC program name or
.\"O program number is found, or until end-of-file is encountered.
.BR getrpcbyname ()
-¤È
+と
.BR getrpcbynumber ()
-¤Ï¥Õ¥¡¥¤¥ë¤ÎºÇ½é¤«¤é°ìÃפ¹¤ë RPC ¥×¥í¥°¥é¥à̾¤«¥×¥í¥°¥é¥àÈֹ椬
-¸«¤Ä¤«¤ë¤«¡¢¥Õ¥¡¥¤¥ë¤ÎºÇ¸å (end-of-file) ¤ËÅþ㤹¤ë¤Þ¤Ç¡¢½çÈÖ¤Ë
-õ¤·¤Æ¤¤¤¯¡£
+はファイルの最初から一致する RPC プログラム名かプログラム番号が
+見つかるか、ファイルの最後 (end-of-file) に到達するまで、順番に
+探していく。
.\"O .SH RETURN VALUE
-.SH ÊÖ¤êÃÍ
+.SH 返り値
.\"O On success,
.\"O .BR getrpcent (),
.\"O .BR getrpcbyname (),
.\"O return a pointer to a statically allocated
.\"O .I rpcent
.\"O structure.
-À®¸ù¤¹¤ë¤È¡¢
+成功すると、
.BR getrpcent (),
.BR getrpcbyname (),
.BR getrpcbynumber ()
-¤Ï¡¢ÀÅŪ¤Ë³ä¤êÅö¤Æ¤é¤ì¤¿
+は、静的に割り当てられた
.I rpcent
-¹½Â¤ÂΤؤΥݥ¤¥ó¥¿¤òÊÖ¤¹¡£
+構造体へのポインタを返す。
.\"O A NULL pointer is returned on EOF or error.
-EOF ¤« ¥¨¥é¡¼¤ËÁø¶ø¤·¤¿¾ì¹ç¤Ë¤Ï NULL ¥Ý¥¤¥ó¥¿¤òÊÖ¤¹¡£
+EOF か エラーに遭遇した場合には NULL ポインタを返す。
.\"O .SH FILES
-.SH ¥Õ¥¡¥¤¥ë
+.SH ファイル
.TP
.I /etc/rpc
.\"O RPC program number database.
-RPC ¥×¥í¥°¥é¥àÈÖ¹æ¥Ç¡¼¥¿¥Ù¡¼¥¹
+RPC ã\83\97ã\83ã\82°ã\83©ã\83 ç\95ªå\8f·ã\83\87ã\83¼ã\82¿ã\83\99ã\83¼ã\82¹
.\"O .SH "CONFORMING TO"
-.SH ½àµò
+.SH 準拠
.\"O Not in POSIX.1-2001.
.\"O Present on the BSDs, Solaris, and many other systems.
-POSIX.1-2001 ¤Ë¤Ï¤Ê¤¤¡£
-BSD ·Ï¡¢Solaris ¤ä¾¤Î¿¤¯¤Î¥·¥¹¥Æ¥à¤Ë¸ºß¤¹¤ë¡£
+POSIX.1-2001 にはない。
+BSD 系、Solaris や他の多くのシステムに存在する。
.\"O .SH BUGS
-.SH ¥Ð¥°
+.SH ã\83\90ã\82°
.\"O All information
.\"O is contained in a static area
.\"O so it must be copied if it is
.\"O to be saved.
-Á´¤Æ¤Î¾ðÊó¤ÏÀÅŪÎΰè¤Ë³ÊǼ¤µ¤ì¤ë¡£
-Êݸ¤¹¤ë¤¿¤á¤Ë¤ÏÁ´¤Æ¤ò¥³¥Ô¡¼¤¹¤ëɬÍפ¬¤¢¤ë¡£
+全ての情報は静的領域に格納される。
+保存するためには全てをコピーする必要がある。
.\"O .SH "SEE ALSO"
-.SH ´ØÏ¢¹àÌÜ
+.SH 関連項目
.BR getrpcent_r (3),
.BR rpc (5),
.BR rpcinfo (8),