-.\" Hey Emacs! This file is -*- nroff -*- source.
-.\"
.\" Copyright (c) 1993 by Thomas Koenig (ig25@rz.uni-karlsruhe.de)
.\" and Copyright (c) 2004 by Michael Kerrisk (mtk.manpages@gmail.com)
.\"
+.\" %%%LICENSE_START(VERBATIM)
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
-.\" License.
+.\" %%%LICENSE_END
.\"
.\" Modified Sat Jul 24 13:32:44 1993 by Rik Faith (faith@cs.unc.edu)
.\" Modified Mon Jun 23 14:09:52 1997 by aeb - add EINTR.
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
-.TH WAIT4 2 2010\-09\-20 Linux "Linux Programmer's Manual"
+.TH WAIT4 2 2012\-09\-23 Linux "Linux Programmer's Manual"
.SH 名前
wait3, wait4 \- BSD スタイルでプロセスの状態変化を待つ
.SH 書式
.RE
.ad
.SH 説明
+These functions are obsolete; use \fBwaitpid\fP(2) or \fBwaitid\fP(2) in new
+programs.
+
システムコール \fBwait3\fP() と \fBwait4\fP() は \fBwaitpid\fP(2)
と同様の動作をする。それに加え、子プロセスのリソース使用状況の情報を \fIrusage\fP が指す構造体に入れて返す。
.PP
\fBwaitpid\fP(2) と同様。
.SH 準拠
4.3BSD.
+
+SUSv1 included a specification of \fBwait3\fP(); SUSv2 included \fBwait3\fP(), but
+marked it LEGACY; SUSv3 removed it.
.SH 注意
現在では \fI<sys/time.h>\fP をインクルードする必要はないが、インクルードしておくと 移植性を高めることができる (実際には
\fI<sys/resource.h>\fP で \fIrusage\fP 構造体が定義されているが、そのフィールドで使用されている
\fBfork\fP(2), \fBgetrusage\fP(2), \fBsigaction\fP(2), \fBsignal\fP(2), \fBwait\fP(2),
\fBsignal\fP(7)
.SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.41 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.50 の一部
である。プロジェクトの説明とバグ報告に関する情報は
http://www.kernel.org/doc/man\-pages/ に書かれている。