OSDN Git Service

Update releases for LDP 3.67
[linuxjm/LDP_man-pages.git] / release / man3 / rcmd.3
index 53a5881..c951d8c 100644 (file)
@@ -100,10 +100,9 @@ _BSD_SOURCE
 (他の関数とともに) 利用される。
 .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