OSDN Git Service

Update README
[linuxjm/LDP_man-pages.git] / draft / man3 / makecontext.3
index c09f5fe..7f273d6 100644 (file)
@@ -1,6 +1,8 @@
+
 .\" Copyright (C) 2001 Andries Brouwer (aeb@cwi.nl)
 .\" and Copyright (C) 2006 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_END
+.\"
 .\" 2006-08-02, mtk, Added example program
 .\"
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.\"
 .\" Japanese Version Copyright (c) 2001 NAKANO Takeo all rights reserved.
 .\" Translated Sat Dec 15 2001 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
 .\" Updated 2008-12-24, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, LDP v3.15
 .\"
-.TH MAKECONTEXT 3 2009-03-31 "GNU" "Linux Programmer's Manual"
-.\"O .SH NAME
-.\"O makecontext, swapcontext \- manipulate user context
-.SH Ì¾Á°
-makecontext, swapcontext \- ¥æ¡¼¥¶¥³¥ó¥Æ¥­¥¹¥È¤òÁàºî¤¹¤ë
-.\"O .SH SYNOPSIS
-.SH ½ñ¼°
-.B #include <ucontext.h>
+.TH MAKECONTEXT 3 2014\-05\-28 GNU "Linux Programmer's Manual"
+.SH 名前
+makecontext, swapcontext \- ユーザーコンテキストを操作する
+.SH 書式
+\fB#include <ucontext.h>\fP
 .sp
-.BI "void makecontext(ucontext_t *" ucp ", void (*" func )(),
-.BI "int " argc ", ...);"
+\fBvoid makecontext(ucontext_t *\fP\fIucp\fP\fB, void (*\fP\fIfunc\fP\fB)(),\fP \fBint
+\fP\fIargc\fP\fB, ...);\fP
 .sp
-.BI "int swapcontext(ucontext_t *" oucp ", ucontext_t *" ucp );
-.\"O .SH DESCRIPTION
-.SH ÀâÌÀ
-.\"O In a System V-like environment, one has the type \fIucontext_t\fP defined in
-.\"O .I <ucontext.h>
-.\"O and the four functions
-.\"O .BR getcontext (2),
-.\"O .BR setcontext (2),
-.\"O .BR makecontext ()
-.\"O and
-.\"O .BR swapcontext ()
-.\"O that allow user-level context switching
-.\"O between multiple threads of control within a process.
-System V Åª¤Ê´Ä¶­¤Ç¤Ï¡¢
-\fBmcontext_t\fP ¤ª¤è¤Ó \fBucontext_t\fP ¤È¤¤¤¦ 2 ¤Ä¤Î·¿¤È¡¢
-.BR getcontext (2),
-.BR setcontext (2),
-.BR makecontext (),
-.BR swapcontext ()
-¤È¤¤¤¦ 4 ¤Ä¤Î´Ø¿ô¤¬
-.I <ucontext.h>
-¤ÇÄêµÁ¤µ¤ì¤Æ¤ª¤ê¡¢¤¢¤ë¥×¥í¥»¥¹ÆâÉô¤ÇÀ©¸æ²¼¤Ë¤¢¤ëÊ£¿ô¤Î¥¹¥ì¥Ã¥É´Ö¤Ç¡¢
-¥æ¡¼¥¶¥ì¥Ù¥ë¤Î¥³¥ó¥Æ¥­¥¹¥ÈÀÚÂؤ¨¤¬¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤ë¡£
+\fBint swapcontext(ucontext_t *\fP\fIoucp\fP\fB, const ucontext_t *\fP\fIucp\fP\fB);\fP
+.SH 説明
+System V 的な環境では、 \fBmcontext_t\fP および \fBucontext_t\fP という 2 つの型と、
+\fBgetcontext\fP(3), \fBsetcontext\fP(3), \fBmakecontext\fP(), \fBswapcontext\fP()  という
+4 つの関数が \fI<ucontext.h>\fP で定義されており、あるプロセス内部で制御下にある複数のスレッド間で、
+ユーザーレベルのコンテキスト切替えができるようになっている。
 .LP
-.\"O For the type and the first two functions, see
-.\"O .BR getcontext (2).
-¤³¤ì¤é¤Î·¿¤È¡¢ºÇ½é¤Î 2 ¤Ä¤Î´Ø¿ô¤Ë¤Ä¤¤¤Æ¤Ï¡¢
-.BR getcontext (2)
-¤ò»²¾È¤Î¤³¤È¡£
+これらの型と、最初の 2 つの関数については、 \fBgetcontext\fP(3) を参照のこと。
 .LP
-.\"O The
-.\"O .BR makecontext ()
-.\"O function modifies the context pointed to
-.\"O by \fIucp\fP (which was obtained from a call to
-.\"O .BR getcontext (2)).
-.\"O Before invoking
-.\"O .BR makecontext (),
-.\"O the caller must allocate a new stack
-.\"O for this context and assign its address to \fIucp\->uc_stack\fP,
-.\"O and define a successor context and
-.\"O assign its address to \fIucp\->uc_link\fP.
-.BR makecontext ()
-´Ø¿ô¤Ï¡¢¥Ý¥¤¥ó¥¿ \fIucp\fP ¤¬»Ø¤¹¥³¥ó¥Æ¥­¥¹¥È¤òÊѹ¹¤¹¤ë
-(\fIucp\fP ¤Ï°ÊÁ°¤Î
-.BR getcontext (2)
-¸Æ¤Ó½Ð¤·¤ÇÆÀ¤é¤ì¤¿¤â¤Î¤Ç¤¢¤ë)¡£
-.BR makecontext ()
-¤òµ¯Æ°¤¹¤ëÁ°¤Ë¤Ï¡¢¸Æ¤Ó½Ð¤·¼Ô¤Ï¡¢¤³¤Î¥³¥ó¥Æ¥­¥¹¥ÈÍѤË
-¿·¤·¤¤¥¹¥¿¥Ã¥¯¤ò³ÎÊݤ·¡¢¤½¤Î¥¢¥É¥ì¥¹¤ò \fIucp\->uc_stack\fP ¤ËÂåÆþ¤·¡¢
-¤µ¤é¤Ë¸å·Ñ¤Î¥³¥ó¥Æ¥­¥¹¥È¤òÄêµÁ¤·¡¢¤½¤Î¥¢¥É¥ì¥¹¤ò \fIucp\->uc_link\fP ¤Ë
-ÂåÆþ¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
+\fBmakecontext\fP()  関数は、ポインター \fIucp\fP が指すコンテキストを変更する (\fIucp\fP は以前の
+\fBgetcontext\fP(3)  呼び出しで得られたものである)。 \fBmakecontext\fP()
+を起動する前には、呼び出し者は、このコンテキスト用に 新しいスタックを確保し、そのアドレスを \fIucp\->uc_stack\fP に代入し、
+さらに後継のコンテキストを定義し、そのアドレスを \fIucp\->uc_link\fP に 代入しなければならない。
 
-.\"O When this context is later activated (using
-.\"O .BR setcontext (2)
-.\"O or
-.\"O .BR swapcontext ())
-.\"O the function \fIfunc\fP is called,
-.\"O and passed the series of integer
-.\"O .RI ( int )
-.\"O arguments that follow
-.\"O .IR argc ;
-.\"O the caller must specify the number of these arguments in
-.\"O .IR argc .
-.\"O When this function returns, the successor context is activated.
-.\"O If the successor context pointer is NULL, the thread exits.
-¤³¤Î¥³¥ó¥Æ¥­¥¹¥È¤¬¾­Íè
-.RB ( setcontext (2)
-¤Þ¤¿¤Ï
-.BR swapcontext ()
-¤Ë¤è¤Ã¤Æ)
-Í­¸ú¤Ë¤µ¤ì¤ë¤È¡¢´Ø¿ô \fIfunc\fP ¤¬¸Æ¤Ð¤ì¡¢
-°ú¤­¿ô¤È¤·¤Æ
-.I argc
-°Ê¹ß¤ÎÀ°¿ô
-.RI ( int )
-°ú¤­¿ô¤ÎÎó¤¬ÅϤµ¤ì¤ë¡£
-¸Æ¤Ó½Ð¤·¼Ô¤Ï
-.I argc
-¤Ë¤³¤ì¤é¤Î°ú¤­¿ô¤Î¸Ä¿ô¤ò»ØÄꤷ¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
-¤³¤Î´Ø¿ô¤¬Ìá¤ë¤È¡¢¸å·Ñ¤Î¥³¥ó¥Æ¥­¥¹¥È¤¬Í­¸ú¤Ë¤Ê¤ë¡£
-¸å·Ñ¥³¥ó¥Æ¥­¥¹¥È¤Î¥Ý¥¤¥ó¥¿¤¬ NULL ¤Î¾ì¹ç¡¢¤½¤Î¥¹¥ì¥Ã¥É¤¬½ªÎ»¤¹¤ë¡£
+このコンテキストが将来 (\fBsetcontext\fP(3)  または \fBswapcontext\fP()  によって)  有効にされると、関数
+\fIfunc\fP が呼ばれ、 引き数として \fIargc\fP 以降の整数 (\fIint\fP)  引き数の列が渡される。 呼び出し者は \fIargc\fP
+にこれらの引き数の個数を指定しなければならない。 この関数が戻ると、後継のコンテキストが有効になる。 後継コンテキストのポインターが NULL
+の場合、そのスレッドが終了する。
 .LP
-.\"O The
-.\"O .BR swapcontext ()
-.\"O function saves the current context in
-.\"O the structure pointed to by \fIoucp\fP, and then activates the
-.\"O context pointed to by \fIucp\fP.
-.BR swapcontext ()
-´Ø¿ô¤Ï¸½ºß¤Î¥³¥ó¥Æ¥­¥¹¥È¤ò
-¥Ý¥¤¥ó¥¿ \fIoucp\fP ¤¬»Ø¤¹¹½Â¤ÂΤËÊݸ¤·¡¢
-¥Ý¥¤¥ó¥¿ \fIucp\fP ¤¬»Ø¤¹¥³¥ó¥Æ¥­¥¹¥È¤òÍ­¸ú¤Ë¤¹¤ë¡£
-.\"O .SH "RETURN VALUE"
-.SH ÊÖ¤êÃÍ
-.\"O When successful,
-.\"O .BR swapcontext ()
-.\"O does not return.
-.\"O (But we may return later, in case \fIoucp\fP is
-.\"O activated, in which case it looks like
-.\"O .BR swapcontext ()
-.\"O returns 0.)
-.\"O On error,
-.\"O .BR swapcontext ()
-.\"O returns \-1 and
-.\"O sets \fIerrno\fP appropriately.
-À®¸ù¤¹¤ë¤È¡¢
-.BR swapcontext ()
-¤ÏÊÖ¤é¤Ê¤¤
-(¤·¤«¤·¸å¤Ë \fIoucp\fP ¤¬Í­¸ú¤Ë¤Ê¤Ã¤¿¾ì¹ç¤Ë¤ÏÊ֤뤳¤È¤¬¤¢¤ë¡£
-¤³¤Î¤È¤­¤Ë¤Ï
-.BR swapcontext ()
-¤Ï 0 ¤òÊÖ¤¹¤è¤¦¤Ë¸«¤¨¤ë¡£)
-¼ºÇÔ¤¹¤ë¤È¡¢
-.BR swapcontext ()
-¤Ï \-1 ¤òÊÖ¤·¡¢
-\fIerrno\fP ¤ò¥¨¥é¡¼¤Ë±þ¤¸¤ÆÀßÄꤹ¤ë¡£
-.\"O .SH ERRORS
-.SH ¥¨¥é¡¼
-.TP
-.B ENOMEM
-.\"O Insufficient stack space left.
-¥¹¥¿¥Ã¥¯¤Ë³ä¤êÅö¤Æ¤ë¶õ´Ö¤¬»Ä¤Ã¤Æ¤¤¤Ê¤¤¡£
-.\"O .SH VERSIONS
-.SH ¥Ð¡¼¥¸¥ç¥ó
-.\"O .BR makecontext ()
-.\"O and
-.\"O .BR swapcontext ()
-.\"O are provided in glibc since version 2.1.
-.BR makecontext ()
-¤È
-.BR swapcontext ()
-¤Ï¡¢¥Ð¡¼¥¸¥ç¥ó 2.1 °Ê¹ß¤Î glibc ¤ÇÄ󶡤µ¤ì¤Æ¤¤¤ë¡£
-.\"O .SH "CONFORMING TO"
-.SH ½àµò
-SUSv2, POSIX.1-2001.
-.\"O POSIX.1-2008 removes the specifications of
-.\"O .BR makecontext ()
-.\"O and
-.\"O .BR swapcontext (),
-.\"O citing portability issues, and
-.\"O recommending that applications be rewritten to use POSIX threads instead.
-POSIX.1-2008 ¤Ç¤Ï¡¢°Ü¿¢À­¤ÎÌäÂ꤫¤é
-.BR makecontext ()
-¤È
-.BR swapcontext ()
-¤Î»ÅÍͤ¬ºï½ü¤µ¤ì¤Æ¤¤¤ë¡£
-Âå¤ï¤ê¤Ë¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ò POSIX ¥¹¥ì¥Ã¥É¤ò»È¤Ã¤Æ½ñ¤­Ä¾¤¹¤³¤È¤¬
-¿ä¾©¤µ¤ì¤Æ¤¤¤ë¡£
-.\"O .SH NOTES
-.SH Ãí°Õ
-.\"O The interpretation of \fIucp\->uc_stack\fP is just as in
-.\"O .BR sigaltstack (2),
-.\"O namely, this struct contains the start and length of a memory area
-.\"O to be used as the stack, regardless of the direction of growth of
-.\"O the stack.
-.\"O Thus, it is not necessary for the user program to
-.\"O worry about this direction.
-\fIucp\->uc_stack\fP ¤Î²ò¼á¤Ï
-.BR sigaltstack (2)
-¤Î¾ì¹ç¤ÈƱ¤¸¤Ç¤¢¤ë¡£
-¤¹¤Ê¤ï¤Á¤³¤Î¹½Â¤ÂΤˤϡ¢
-¥¹¥¿¥Ã¥¯¤È¤·¤ÆÍѤ¤¤é¤ì¤ë¥á¥â¥êÎΰè¤Î³«»Ï¥¢¥É¥ì¥¹¤ÈŤµ¤¬´Þ¤Þ¤ì¡¢
-¤³¤ì¤Ï¥¹¥¿¥Ã¥¯¤¬¿­¤Ó¤ëÊý¸þ¤¬¤É¤Á¤é¤Ç¤¢¤ë¤«¤Ë¤Ï´Ø·¸¤·¤Ê¤¤¡£
-¤·¤¿¤¬¤Ã¤Æ¡¢¥æ¡¼¥¶¥×¥í¥°¥é¥à¤Ï¤³¤Î·ï¤Ë¤Ä¤¤¤Æ¤Ï¿´ÇÛ¤·¤Ê¤¯¤Æ¤è¤¤¡£
+\fBswapcontext\fP()  関数は現在のコンテキストを ポインター \fIoucp\fP が指す構造体に保存し、 ポインター \fIucp\fP
+が指すコンテキストを有効にする。
+.SH 返り値
+成功すると、 \fBswapcontext\fP()  は返らない (しかし後に \fIoucp\fP が有効になった場合には返ることがある。 このときには
+\fBswapcontext\fP()  は 0 を返すように見える。)  失敗すると、 \fBswapcontext\fP()  は \-1 を返し、
+\fIerrno\fP をエラーに応じて設定する。
+.SH エラー
+.TP 
+\fBENOMEM\fP
+スタックに割り当てる空間が残っていない。
+.SH バージョン
+\fBmakecontext\fP()  と \fBswapcontext\fP()  は、バージョン 2.1 以降の glibc で提供されている。
+.SH 属性
+.SS "マルチスレッディング (pthreads(7) 参照)"
+関数 \fBmakecontext\fP() と \fBswapcontext\fP() はスレッドセーフである。
+.SH 準拠
+SUSv2, POSIX.1\-2001.  POSIX.1\-2008 では、移植性の問題から \fBmakecontext\fP()  と
+\fBswapcontext\fP()  の仕様が削除されている。 代わりに、アプリケーションを POSIX スレッドを使って書き直すことが 推奨されている。
+.SH 注意
+\fIucp\->uc_stack\fP の解釈は \fBsigaltstack\fP(2)  の場合と同じである。 すなわちこの構造体には、
+スタックとして用いられるメモリー領域の開始アドレスと長さが含まれ、 これはスタックが伸びる方向がどちらであるかには関係しない。
+したがって、ユーザープログラムはこの件については心配しなくてよい。
 
-.\"O On architectures where
-.\"O .I int
-.\"O and pointer types are the same size
-.\"O (e.g., x86-32, where both types are 32 bits),
-.\"O you may be able to get away with passing pointers as arguments to
-.\"O .BR makecontext ()
-.\"O following
-.\"O .IR argc .
-.\"O However, doing this is not guaranteed to be portable,
-.\"O is undefined according to the standards,
-.\"O and won't work on architectures where pointers are larger than
-.\"O .IR int s.
-.\"O Nevertheless, starting with version 2.8, glibc makes some changes to
-.\"O .BR makecontext (3),
-.\"O to permit this on some 64-bit architectures (e.g., x86-64).
-.I int
-¤È¥Ý¥¤¥ó¥¿·¿¤¬Æ±¤¸Â礭¤µ¤Ç¤¢¤ë¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Ç¤Ï
-(x86-32 ¤Ï¤½¤ÎÎã¤Ç¤¢¤ê¡¢Î¾Êý¤Î·¿¤È¤â 32 ¥Ó¥Ã¥È¤Ç¤¢¤ë)¡¢
-.BR makecontext ()
-¤Î
-.I argc
-°Ê¹ß¤Î°ú¤­¿ô¤È¤·¤Æ¥Ý¥¤¥ó¥¿¤òÅϤ·¤Æ¤â¤¦¤Þ¤¯Æ°¤¯¤«¤â¤·¤ì¤Ê¤¤¡£
-¤·¤«¤·¤Ê¤¬¤é¡¢¤³¤Î¤è¤¦¤Ë¤¹¤ë¤È¡¢°Ü¿¢À­¤ÏÊݾڤµ¤ì¤º¡¢
-ɸ½à¤Ë½¾¤¨¤ÐÆ°ºî¤Ï̤ÄêµÁ¤Ç¤¢¤ê¡¢¥Ý¥¤¥ó¥¿¤¬
-.I int
-¤è¤ê¤âÂ礭¤¤¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Ç¤ÏÀµ¤·¤¯Æ°ºî¤·¤Ê¤¤¤³¤È¤À¤í¤¦¡£
-¤½¤ì¤Ë¤â´Ø¤ï¤é¤º¡¢¥Ð¡¼¥¸¥ç¥ó 2.8 °Ê¹ß¤Î glibc ¤Ç¤Ï¡¢
-.BR makecontext (3)
-¤ËÊѹ¹¤¬¹Ô¤ï¤ì¡¢(x86-64 ¤Ê¤É¤Î) ¤¤¤¯¤Ä¤«¤Î 64 ¥Ó¥Ã¥È¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Ç
-°ú¤­¿ô¤È¤·¤Æ¥Ý¥¤¥ó¥¿¤òÅϤ¹¤³¤È¤¬¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤ë¡£
-.\"O .SH EXAMPLE
-.SH Îã
+\fIint\fP とポインター型が同じ大きさであるアーキテクチャーでは (x86\-32 はその例であり、両方の型とも 32 ビットである)、
+\fBmakecontext\fP()  の \fIargc\fP 以降の引き数としてポインターを渡してもうまく動くかもしれない。
+しかしながら、このようにすると、移植性は保証されず、 標準に従えば動作は未定義であり、ポインターが \fIint\fP
+よりも大きいアーキテクチャーでは正しく動作しないことだろう。 それにも関わらず、バージョン 2.8 以降の glibc では、
+\fBmakecontext\fP()  に変更が行われ、(x86\-64 などの) いくつかの 64 ビットアーキテクチャーで
+引き数としてポインターを渡すことができるようになっている。
+.SH 例
 .PP
-.\"O The example program below demonstrates the use of
-.\"O .BR getcontext (2),
-.\"O .BR makecontext (),
-.\"O and
-.\"O .BR swapcontext ().
-.\"O Running the program produces the following output:
-°Ê²¼¤Î¥µ¥ó¥×¥ë¡¦¥×¥í¥°¥é¥à¤Ï¡¢
-.BR getcontext (2),
-.BR makecontext (),
-.BR swapcontext ()
-¤Î»ÈÍÑÊýË¡¤ÎÎã¤ò¼¨¤¹¤â¤Î¤Ç¤¢¤ë¡£
-¤³¤Î¥×¥í¥°¥é¥à¤ò¼Â¹Ô¤¹¤ë¤È¡¢°Ê²¼¤Î¤è¤¦¤Ê½ÐÎϤ¬ÆÀ¤é¤ì¤ë:
+以下のサンプルプログラムは、 \fBgetcontext\fP(3), \fBmakecontext\fP(), \fBswapcontext\fP()
+の使用方法の例を示すものである。 このプログラムを実行すると、以下のような出力が得られる:
 .in +4n
 .nf
 
-.RB "$" " ./a.out"
+$\fB ./a.out\fP
 main: swapcontext(&uctx_main, &uctx_func2)
 func2: started
 func2: swapcontext(&uctx_func2, &uctx_func1)
@@ -261,8 +111,7 @@ func1: returning
 main: exiting
 .fi
 .in
-.\"O .SS Program source
-.SS ¥×¥í¥°¥é¥à¤Î¥½¡¼¥¹
+.SS プログラムのソース
 \&
 .nf
 #include <ucontext.h>
@@ -271,27 +120,27 @@ main: exiting
 
 static ucontext_t uctx_main, uctx_func1, uctx_func2;
 
-#define handle_error(msg) \\
+#define handle_error(msg) \e
     do { perror(msg); exit(EXIT_FAILURE); } while (0)
 
 static void
 func1(void)
 {
-    printf("func1: started\\n");
-    printf("func1: swapcontext(&uctx_func1, &uctx_func2)\\n");
+    printf("func1: started\en");
+    printf("func1: swapcontext(&uctx_func1, &uctx_func2)\en");
     if (swapcontext(&uctx_func1, &uctx_func2) == \-1)
         handle_error("swapcontext");
-    printf("func1: returning\\n");
+    printf("func1: returning\en");
 }
 
 static void
 func2(void)
 {
-    printf("func2: started\\n");
-    printf("func2: swapcontext(&uctx_func2, &uctx_func1)\\n");
+    printf("func2: started\en");
+    printf("func2: swapcontext(&uctx_func2, &uctx_func1)\en");
     if (swapcontext(&uctx_func2, &uctx_func1) == \-1)
         handle_error("swapcontext");
-    printf("func2: returning\\n");
+    printf("func2: returning\en");
 }
 
 int
@@ -315,18 +164,18 @@ main(int argc, char *argv[])
     uctx_func2.uc_link = (argc > 1) ? NULL : &uctx_func1;
     makecontext(&uctx_func2, func2, 0);
 
-    printf("main: swapcontext(&uctx_main, &uctx_func2)\\n");
+    printf("main: swapcontext(&uctx_main, &uctx_func2)\en");
     if (swapcontext(&uctx_main, &uctx_func2) == \-1)
         handle_error("swapcontext");
 
-    printf("main: exiting\\n");
+    printf("main: exiting\en");
     exit(EXIT_SUCCESS);
 }
 .fi
-.\"O .SH "SEE ALSO"
-.SH ´ØÏ¢¹àÌÜ
-.BR getcontext (2),
-.BR sigaction (2),
-.BR sigaltstack (2),
-.BR sigprocmask (2),
-.BR sigsetjmp (3)
+.SH 関連項目
+\fBsigaction\fP(2), \fBsigaltstack\fP(2), \fBsigprocmask\fP(2), \fBgetcontext\fP(3),
+\fBsigsetjmp\fP(3)
+.SH この文書について
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.79 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。