(他の関数とともに) 利用される。
.SS rcmd()
.PP
-The \fBrcmd\fP() function looks up the host \fI*ahost\fP using
-\fBgethostbyname\fP(3), returning \-1 if the host does not exist. Otherwise,
-\fI*ahost\fP is set to the standard name of the host and a connection is
-established to a server residing at the well\-known Internet port \fIinport\fP.
+\fBrcmd\fP() 関数は \fBgethostbyname\fP(3) を用いて \fI*ahost\fP の参照を行う。ホストが存在しない場合は \-1
+を返す。 見つかった場合は \fI*ahost\fP にホストの標準名 (standard name) をセットして、 予約されているインターネットポート
+\fIinport\fP 経由でサーバーへの接続を確立する。
.PP
接続に成功したら、インターネットドメインに存在するタイプ \fBSOCK_STREAM\fP のソケットが呼び出しもとに返される。
このソケットの相手側はリモートコマンドの \fIstdin\fP および \fIstdout\fP に接続される。 \fIfd2p\fP