OSDN Git Service

Update release for LDP 3.67
[linuxjm/LDP_man-pages.git] / release / man3 / exit.3
index 2cbecac..10ae636 100644 (file)
@@ -1,5 +1,6 @@
 .\" Copyright (C) 2001 Andries Brouwer <aeb@cwi.nl>.
 .\"
+.\" %%%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_END
+.\"
+.\" FIXME There are a lot of other process termination actions that
+.\" could be listed on this page. See, for example, the list in the
+.\" POSIX exit(3p) page.
 .\"
 .\"*******************************************************************
 .\"
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH EXIT 3 2009\-09\-20 Linux "Linux Programmer's Manual"
+.\"
+.\" Japanese Version Copyright (c) 1997 HORIMOTO Masafumi
+.\"         all rights reserved.
+.\" Translated 1997-09-10, HORIMOTO Masafumi
+.\" Updated & Modified 2001-10-27, Yuichi SATO <ysato@h4.dion.ne.jp>
+.\" Updated & Modified 2001-12-09, Yuichi SATO
+.\" Updated & Modified 2005-09-06, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
+.\" Updated 2007-06-18, Akihiro MOTOKI, LDP v2.57
+.\" Updated 2013-05-01, Akihiro MOTOKI <amotoki@gmail.com>
+.\"
+.TH EXIT 3 2014\-03\-25 Linux "Linux Programmer's Manual"
 .SH 名前
 exit \- プロセスの正常終了
 .SH 書式
@@ -52,12 +68,16 @@ C 標準では \fBEXIT_SUCCESS\fP と \fBEXIT_FAILURE\fP という 2つの定数
 定義されている。それぞれ正常終了と異常終了を示すもので、 \fBexit\fP()  として渡すことができる。
 .SH 返り値
 \fBexit\fP()  関数は返らない。
+.SH 属性
+.SS "マルチスレッディング (pthreads(7) 参照)"
+\fBexit\fP() 関数は保護されていないグローバル変数を使用しているため、スレッドセーフではない。
 .SH 準拠
 SVr4, 4.3BSD, POSIX.1\-2001, C89, C99.
 .SH 注意
 .LP
-\fBatexit\fP(3)  や \fBon_exit\fP(3)  を使って登録された関数の中で \fBexit\fP()  か \fBlongjmp\fP(3)
-が呼び出された場合、 何が起こるかは未定義である。
+\fBatexit\fP(3)  や \fBon_exit\fP(3)  を使って登録された関数の中で \fBexit\fP() か \fBlongjmp\fP(3)
+が呼び出された場合、 何が起こるかは未定義である。 \fBexecve\fP(2) を呼び出すと、 \fBatexit\fP(3) や \fBon_exit\fP(3)
+を使って登録された関数が削除される点に注意すること。
 .LP
 \fBEXIT_SUCCESS\fP と \fBEXIT_FAILURE\fP を使うと、0 や (1 や \-1 といった) 0 以外の値を使うのに比べて
 (UNIX 以外の環境に) 移植するのがいくらか簡単になる。 特に VMS は別の方式を用いている。
@@ -85,6 +105,6 @@ BSD は終了コードを標準化しようとしている; \fI<sysexits.h>\fP 
 \fB_exit\fP(2), \fBsetpgid\fP(2), \fBwait\fP(2), \fBatexit\fP(3), \fBon_exit\fP(3),
 \fBtmpfile\fP(3)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.41 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.67 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。