OSDN Git Service

4d832471ef1a6011440b5bec63efe597f02c5a8d
[linuxjm/LDP_man-pages.git] / release / man3 / abort.3
1 .\" Copyright 2007 (C) Michael Kerrisk <mtk.manpages@gmail.com>
2 .\" some parts Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
3 .\"
4 .\" %%%LICENSE_START(VERBATIM)
5 .\" Permission is granted to make and distribute verbatim copies of this
6 .\" manual provided the copyright notice and this permission notice are
7 .\" preserved on all copies.
8 .\"
9 .\" Permission is granted to copy and distribute modified versions of this
10 .\" manual under the conditions for verbatim copying, provided that the
11 .\" entire resulting derived work is distributed under the terms of a
12 .\" permission notice identical to this one.
13 .\"
14 .\" Since the Linux kernel and libraries are constantly changing, this
15 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
16 .\" responsibility for errors or omissions, or for damages resulting from
17 .\" the use of the information contained herein.  The author(s) may not
18 .\" have taken the same level of care in the production of this manual,
19 .\" which is licensed free of charge, as they might when working
20 .\" professionally.
21 .\"
22 .\" Formatted or processed versions of this manual, if unaccompanied by
23 .\" the source, must acknowledge the copyright and authors of this work.
24 .\" %%%LICENSE_END
25 .\"
26 .\" References consulted:
27 .\"     Linux libc source code
28 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
29 .\"     386BSD man pages
30 .\" Modified Sat Jul 24 21:46:21 1993 by Rik Faith (faith@cs.unc.edu)
31 .\" Modified Fri Aug  4 10:51:53 2000 - patch from Joseph S. Myers
32 .\" 2007-12-15, mtk, Mostly rewritten
33 .\"
34 .\"*******************************************************************
35 .\"
36 .\" This file was generated with po4a. Translate the source file.
37 .\"
38 .\"*******************************************************************
39 .TH ABORT 3 2007\-12\-15 GNU "Linux Programmer's Manual"
40 .SH 名前
41 abort \- プロセスの異常終了を生じさせる
42 .SH 書式
43 .nf
44 \fB#include <stdlib.h>\fP
45 .sp
46 \fBvoid abort(void);\fP
47 .fi
48 .SH 説明
49 \fBabort\fP()  関数は、まず \fBSIGABRT\fP の禁止 (block) を解除してから、呼び出し元のプロセスに \fBSIGABRT\fP
50 シグナルを上げる。その結果、 \fBSIGABRT\fP シグナルが捕捉 (caught) されて対応するシグナル・ハンドラーが
51 返って来ない場合以外は、プログラムの異常終了が起こる (\fBlongjmp\fP(3)  参照)。
52 .PP
53 \fBabort\fP()  関数によってプロセスの終了が引き起こされたときには、 すべての開いているストリームは閉じられフラッシュされる。
54 .PP
55 \fBSIGABRT\fP シグナルが無視、または返って来るシグナル・ハンドラーで 捕捉されるようになっている場合であっても、 \fBabort\fP()
56 関数はそのプロセスを終了する。 \fBSIGABRT\fP シグナルに対する処理方法をデフォルトに戻してから、再度 \fBSIGABRT\fP
57 シグナルを上げることで、このような動作になる。
58 .SH 返り値
59 \fBabort\fP()  関数が返ることはない。
60 .SH 準拠
61 SVr4, POSIX.1\-2001, 4.3BSD, C89, C99.
62 .SH 関連項目
63 \fBgdb\fP(1), \fBsigaction\fP(2), \fBexit\fP(3), \fBlongjmp\fP(3), \fBraise\fP(3)
64 .SH この文書について
65 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.52 の一部
66 である。プロジェクトの説明とバグ報告に関する情報は
67 http://www.kernel.org/doc/man\-pages/ に書かれている。