X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;ds=sidebyside;f=release%2Fman3%2Frexec.3;h=01ce3252686f95adb06b102aac3f8c3eb22ed1ae;hb=94cd7e81dd3e371b227523c463ff897ddefcd75b;hp=6b483dbddf55cc6ce0b87180e7b9bf816b341bcb;hpb=f73535511ff23549f8fba381139f7bae7666d801;p=linuxjm%2FLDP_man-pages.git diff --git a/release/man3/rexec.3 b/release/man3/rexec.3 index 6b483dbd..01ce3252 100644 --- a/release/man3/rexec.3 +++ b/release/man3/rexec.3 @@ -67,13 +67,10 @@ rexec, rexec_af \- リモートコマンドへのストリームを返す .SH 説明 このインタフェースは \fBrcmd\fP(3) によって置き換えられた。 -The \fBrexec\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. If a username and -password are both specified, then these are used to authenticate to the -foreign host; otherwise the environment and then the \fI.netrc\fP file in -user's home directory are searched for appropriate information. If all this -fails, the user is prompted for the information. +\fBrexec\fP() 関数は \fBgethostbyname\fP(3) を使ってホスト \fI*ahost\fP を探す。ホストが存在しない場合は \-1 +を返し、それ以外の場合には \fI*ahost\fP にそのホストの標準的な名前を設定する。 ユーザ名とパスワードの両方が指定された場合には、これらは +接続先のホストへの認証に利用される。そうでない場合には、 適切な情報を入手するために、環境変数と、そのユーザの ホームディレクトリの \fI.netrc\fP +ファイルが検索される。情報が見つからなかった時には、 ユーザに対して情報を入力するプロンプトが表示される。 .PP ポート \fIinport\fP には、接続に使用する DARPA Internet の well\-known ポートを指定する。 \fIgetservbyname("exec", "tcp")\fP を呼び出すと構造体へのポインタが返され (\fBgetservent\fP(3)