OSDN Git Service

(split) LDP: Update draft and release (from the previous commit)
[linuxjm/LDP_man-pages.git] / release / man3 / raise.3
index 940b371..8c2e9d9 100644 (file)
@@ -1,6 +1,7 @@
 .\" Copyright (c) 1993 by Thomas Koenig (ig25@rz.uni-karlsruhe.de)
 .\" and Copyright (C) 2008 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 18:40:56 1993 by Rik Faith (faith@cs.unc.edu)
 .\" Modified 1995 by Mike Battersby (mib@deakin.edu.au)
 .\"
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.\"
 .\" Japanese Version Copyright (c) 1997 HIROFUMI Nishizuka
 .\"    all rights reserved.
 .\" Translated 1997-12-25, HIROFUMI Nishizuka <nishi@rpts.cl.nec.co.jp>
 .\" Updated 2008-08-08, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, LDP v3.05
+.\" Updated 2012-05-04, Akihiro MOTOKI <amotoki@gmail.com>
 .\"
-.TH RAISE 3 2008-10-17 "GNU" "Linux Programmer's Manual"
+.TH RAISE 3 2014\-03\-10 GNU "Linux Programmer's Manual"
 .SH 名前
 raise \- 呼び出し元にシグナルを送る
 .SH 書式
 .nf
-.B #include <signal.h>
+\fB#include <signal.h>\fP
 .sp
-.BI "int raise(int " sig );
+\fBint raise(int \fP\fIsig\fP\fB);\fP
 .fi
 .SH 説明
-.BR raise ()
-関数は、呼び出し元のプロセスもしくはスレッドにシグナルを送る。
-シングルスレッドのプログラムでは、以下と等価である。
+\fBraise\fP()  関数は、呼び出し元のプロセスもしくはスレッドにシグナルを送る。 シングルスレッドのプログラムでは、以下と等価である。
 .sp
 .in +4n
 .nf
@@ -57,17 +64,24 @@ pthread_kill(pthread_self(), sig);
 .fi
 .in
 .PP
-シグナルに起因してシグナル・ハンドラが呼び出される場合には、
-.BR raise ()
-が返るのは必ずシグナル・ハンドラが返った後になる。
+シグナルに起因してシグナル・ハンドラが呼び出される場合には、 \fBraise\fP()  が返るのは必ずシグナル・ハンドラが返った後になる。
 .SH 返り値
 成功した場合は 0 を、失敗した場合は 0 以外の値を返す。
+.SH 属性
+.SS "マルチスレッディング (pthreads(7) 参照)"
+\fBraise\fP() 関数はスレッドセーフである。
 .SH 準拠
-C89, C99, POSIX.1-2001.
+C89, C99, POSIX.1\-2001.
+.SH 注意
+.\" 2.3.2 used the obsolete tkill(), if available.
+glibc バージョン 2.3.3 以降では、カーネルが \fBtgkill\fP(2) システムコール
+をサポートしている場合は\fBraise\fP() は \fBtgkill\fP(2) を使って実装されて
+いる。古いバージョンの glibc では、\fBraise\fP() は \fBkill\fP(2) を使って
+実装されている。
 .SH 関連項目
-.BR getpid (2),
-.BR kill (2),
-.BR sigaction (2),
-.BR signal (2),
-.BR pthread_kill (3),
-.BR signal (7)
+\fBgetpid\fP(2), \fBkill\fP(2), \fBsigaction\fP(2), \fBsignal\fP(2), \fBpthread_kill\fP(3),
+\fBsignal\fP(7)
+.SH この文書について
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.63 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。