.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
-.TH SETPGID 2 2010\-09\-26 Linux "Linux Programmer's Manual"
+.TH SETPGID 2 2013\-07\-31 Linux "Linux Programmer's Manual"
.SH 名前
setpgid, getpgid, setpgrp, getpgrp \- プロセスグループの設定/取得を行う
.SH 書式
各プロセスグループはセッションのメンバーであり、各プロセスは そのプロセスグループが所属しているセッションのメンバーである。
-セッションは制御端末 (controlling terminal) を持つことができる。 いつでも、セッションに所属するプロセスグループの一つ (だけ)
-が 端末のフォアグランドのプロセスグループになることができ、 残りのプロセスグループはバックグラウンドになる。 端末からシグナルが生成された場合
-(例えば、中断キーを叩いて \fBSIGINT\fP が生成されるなど)、そのシグナルはフォアグラウンドのプロセスグループ に送られる
-(シグナルを生成する文字の説明は \fBtermios\fP(3) を参照)。 フォアグラウンドのプロセスグループだけが端末からの \fBread\fP(2)
-ができる。 バックグラウンドのプロセスグループが端末からの \fBread\fP(2) を行おうとした場合、そのプロセスグループにはシグナル
-\fBSIGTSTP\fP が送られ、そのプロセスグループは一時停止 (suspend) する。 関数 \fBtcgetpgrp\fP(3) と
-\fBtcsetpgrp\fP(3) を使うと、制御端末のフォアグラウンドのプロセスグループを 取得/設定できる。
+A session can have a controlling terminal. At any time, one (and only one)
+of the process groups in the session can be the foreground process group for
+the terminal; the remaining process groups are in the background. If a
+signal is generated from the terminal (e.g., typing the interrupt key to
+generate \fBSIGINT\fP), that signal is sent to the foreground process group.
+(See \fBtermios\fP(3) for a description of the characters that generate
+signals.) Only the foreground process group may \fBread\fP(2) from the
+terminal; if a background process group tries to \fBread\fP(2) from the
+terminal, then the group is sent a \fBSIGTTIN\fP signal, which suspends it.
+The \fBtcgetpgrp\fP(3) and \fBtcsetpgrp\fP(3) functions are used to get/set the
+foreground process group of the controlling terminal.
\fBsetpgid\fP() と \fBgetpgrp\fP() は、 \fBbash\fP(1) のようなプログラムで、シェルのジョブ制御 (job
control) の実装のための プロセスグループを作成するのに使われる。
\fBgetuid\fP(2), \fBsetsid\fP(2), \fBtcgetpgrp\fP(3), \fBtcsetpgrp\fP(3), \fBtermios\fP(3),
\fBcredentials\fP(7)
.SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.52 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.53 の一部
である。プロジェクトの説明とバグ報告に関する情報は
http://www.kernel.org/doc/man\-pages/ に書かれている。