OSDN Git Service

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