From: Akihiro MOTOKI Date: Thu, 23 Feb 2012 17:15:33 +0000 (+0900) Subject: (split) LDP sigqueue.3: updated to LDP v3.35. X-Git-Tag: LDP-3.35-final~6 X-Git-Url: http://git.osdn.net/view?p=linuxjm%2FLDP_man-pages.git;a=commitdiff_plain;h=5364fb3127daecbc8a1622ff6484f4efda38f27c (split) LDP sigqueue.3: updated to LDP v3.35. In LDP v3.35, sigqueue.2 is moved to sigqueue.3. This commit contains modifications for sigqueue.2 in v3.32 and for sigqueue.3 in v3.35. --- diff --git a/draft/man2/sigqueue.2 b/draft/man3/sigqueue.3 similarity index 90% rename from draft/man2/sigqueue.2 rename to draft/man3/sigqueue.3 index a2a2c994..008f90c5 100644 --- a/draft/man2/sigqueue.2 +++ b/draft/man3/sigqueue.3 @@ -29,7 +29,7 @@ .\" Updated & Modified 2005-01-08, Yuichi SATO .\" Updated 2007-09-08, Akihiro MOTOKI , LDP v2.64 .\" -.TH SIGQUEUE 2 2007-07-26 "Linux" "Linux Programmer's Manual" +.TH SIGQUEUE 3 2011-09-18 "Linux" "Linux Programmer's Manual" .\"O .SH NAME .SH ̾Á° .\"O sigqueue, rt_sigqueueinfo \- queue a signal and data to a process @@ -206,9 +206,10 @@ POSIX.1-2001. ¤³¤Î´Ø¿ô¤¬¥ê¥¿¡¼¥ó¤¹¤ëÁ°¤Ë¡¢¾¯¤Ê¤¯¤È¤â ¤½¤Î¥¹¥ì¥Ã¥É¤ËÂФ·¤Æ¥·¥°¥Ê¥ë¤¬ÇÛÁ÷¤µ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£ -.\"O On Linux, the underlying system call is actually named -.\"O .BR rt_sigqueueinfo (), -.\"O and differs in its third argument, which is the +.\"O On Linux, this function is implemented using the +.\"O .BR rt_sigqueueinfo (2) +.\"O system call. +.\"O The system call differs in its third argument, which is the .\"O .I siginfo_t .\"O structure that will be supplied to the receiving process's .\"O signal handler or returned by the receiving process's @@ -217,13 +218,14 @@ POSIX.1-2001. .\"O Inside the glibc .\"O .BR sigqueue () .\"O wrapper, this argument, -.\"O .IR info , +.\"O .IR uinfo , .\"O is initialized as follows: -Linux ¤Ç¤Ï¡¢¸Æ¤Ó½Ð¤µ¤ì¤ë¥·¥¹¥Æ¥à¥³¡¼¥ë¤Î̾Á°¤Ï¼ÂºÝ¤Ë¤Ï -.BR rt_sigqueueinfo () -¤Ç¤¢¤ë¡£ -.BR rt_sigqueueinfo () -¤Ç¤Ï 3 ÈÖÌܤΰú¤­¿ô¤Ë°ã¤¤¤¬¤¢¤ê¡¢ +Linux ¤Ç¤Ï¡¢¤³¤Î´Ø¿ô¤Ï +.BR rt_sigqueueinfo (2) +¥·¥¹¥Æ¥à¥³¡¼¥ë¤ò»È¤Ã¤Æ¼ÂÁõ¤µ¤ì¤Æ¤¤¤ë¡£ +ξ¼Ô¤Ë¤Ï 3 ÈÖÌܤΰú¤­¿ô¤Ë°ã¤¤¤¬¤¢¤ê¡¢ +.BR rt_sigqueueinfo (2) +¤Ç¤Ï 3 ÈÖÌܤΰú¤­¿ô¤Ï .I siginfo_t ¹½Â¤ÂΤǤ¢¤ë¡£ .I siginfo_t @@ -235,22 +237,24 @@ glibc .BR sigqueue () ¥é¥Ã¥Ñ¡¼´Ø¿ôÆâÉô¤Ç¤Ï¡¢ ¤³¤Î°ú¤­¿ô -.I info +.I uinfo ¤Ï°Ê²¼¤Î¤è¤¦¤Ë½é´ü²½¤µ¤ì¤ë¡£ .in +4n .nf -info.si_signo = sig; /* argument supplied to sigqueue() */ -info.si_code = SI_QUEUE; -info.si_pid = getpid(); /* Process ID of sender */ -info.si_uid = getuid(); /* Real UID of sender */ -info.si_value = val; /* argument supplied to sigqueue() */ +uinfo.si_signo = sig; /* argument supplied to sigqueue() */ +uinfo.si_code = SI_QUEUE; +uinfo.si_pid = getpid(); /* Process ID of sender */ +uinfo.si_uid = getuid(); /* Real UID of sender */ +uinfo.si_value = val; /* argument supplied to sigqueue() */ .fi .in .\"O .SH "SEE ALSO" .SH ´ØÏ¢¹àÌÜ .BR kill (2), +.BR rt_sigqueueinfo (2), .BR sigaction (2), .BR signal (2), +.BR pthread_sigqueue (3), .BR sigwait (3), .BR signal (7) diff --git a/release/man2/sigqueue.2 b/release/man3/sigqueue.3 similarity index 87% rename from release/man2/sigqueue.2 rename to release/man3/sigqueue.3 index b38ae646..47a8024d 100644 --- a/release/man2/sigqueue.2 +++ b/release/man3/sigqueue.3 @@ -29,7 +29,7 @@ .\" Updated & Modified 2005-01-08, Yuichi SATO .\" Updated 2007-09-08, Akihiro MOTOKI , LDP v2.64 .\" -.TH SIGQUEUE 2 2007-07-26 "Linux" "Linux Programmer's Manual" +.TH SIGQUEUE 3 2011-09-18 "Linux" "Linux Programmer's Manual" .SH ̾Á° sigqueue, rt_sigqueueinfo \- ¥·¥°¥Ê¥ë¤È¥Ç¡¼¥¿¤ò¥×¥í¥»¥¹¤ËÁ÷¤ë .SH ½ñ¼° @@ -132,11 +132,12 @@ POSIX.1-2001. ¤³¤Î´Ø¿ô¤¬¥ê¥¿¡¼¥ó¤¹¤ëÁ°¤Ë¡¢¾¯¤Ê¤¯¤È¤â ¤½¤Î¥¹¥ì¥Ã¥É¤ËÂФ·¤Æ¥·¥°¥Ê¥ë¤¬ÇÛÁ÷¤µ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£ -Linux ¤Ç¤Ï¡¢¸Æ¤Ó½Ð¤µ¤ì¤ë¥·¥¹¥Æ¥à¥³¡¼¥ë¤Î̾Á°¤Ï¼ÂºÝ¤Ë¤Ï -.BR rt_sigqueueinfo () -¤Ç¤¢¤ë¡£ -.BR rt_sigqueueinfo () -¤Ç¤Ï 3 ÈÖÌܤΰú¤­¿ô¤Ë°ã¤¤¤¬¤¢¤ê¡¢ +Linux ¤Ç¤Ï¡¢¤³¤Î´Ø¿ô¤Ï +.BR rt_sigqueueinfo (2) +¥·¥¹¥Æ¥à¥³¡¼¥ë¤ò»È¤Ã¤Æ¼ÂÁõ¤µ¤ì¤Æ¤¤¤ë¡£ +ξ¼Ô¤Ë¤Ï 3 ÈÖÌܤΰú¤­¿ô¤Ë°ã¤¤¤¬¤¢¤ê¡¢ +.BR rt_sigqueueinfo (2) +¤Ç¤Ï 3 ÈÖÌܤΰú¤­¿ô¤Ï .I siginfo_t ¹½Â¤ÂΤǤ¢¤ë¡£ .I siginfo_t @@ -148,21 +149,23 @@ glibc .BR sigqueue () ¥é¥Ã¥Ñ¡¼´Ø¿ôÆâÉô¤Ç¤Ï¡¢ ¤³¤Î°ú¤­¿ô -.I info +.I uinfo ¤Ï°Ê²¼¤Î¤è¤¦¤Ë½é´ü²½¤µ¤ì¤ë¡£ .in +4n .nf -info.si_signo = sig; /* argument supplied to sigqueue() */ -info.si_code = SI_QUEUE; -info.si_pid = getpid(); /* Process ID of sender */ -info.si_uid = getuid(); /* Real UID of sender */ -info.si_value = val; /* argument supplied to sigqueue() */ +uinfo.si_signo = sig; /* argument supplied to sigqueue() */ +uinfo.si_code = SI_QUEUE; +uinfo.si_pid = getpid(); /* Process ID of sender */ +uinfo.si_uid = getuid(); /* Real UID of sender */ +uinfo.si_value = val; /* argument supplied to sigqueue() */ .fi .in .SH ´ØÏ¢¹àÌÜ .BR kill (2), +.BR rt_sigqueueinfo (2), .BR sigaction (2), .BR signal (2), +.BR pthread_sigqueue (3), .BR sigwait (3), .BR signal (7) diff --git a/translation_list b/translation_list index 1ac8e60f..c7681dbc 100644 --- a/translation_list +++ b/translation_list @@ -361,7 +361,7 @@ ï¼ :LDP man-pages:3.35:2009/01/13:signalfd4:2:signalfd:2: ○:LDP man-pages:3.35:2008/10/04:sigpending:2:2005/12/05::amotoki@dd.iij4u.or.jp:Akihiro MOTOKI: ☆:LDP man-pages:3.32=>3.35:2008/10/17:sigprocmask:2:2005/10/05::amotoki@dd.iij4u.or.jp:Akihiro MOTOKI: -※:LDP man-pages:3.35:2011/09/18:sigqueue:2:sigqueue:3: +ï¼ :LDP man-pages:3.35:2011/09/18:sigqueue:2:sigqueue:3: ○:LDP man-pages:3.35:2008/06/26:sigreturn:2:2005/09/06::amotoki@dd.iij4u.or.jp:Akihiro MOTOKI: ○:LDP man-pages:3.35:2005/09/15:sigsuspend:2:2005/10/05::amotoki@dd.iij4u.or.jp:Akihiro MOTOKI: ï¼ :LDP man-pages:3.35:2011/10/03:sigtimedwait:2:sigwaitinfo:2: @@ -1562,7 +1562,7 @@ ï¼ :LDP man-pages:3.35:2009/02/04:significandl:3:significand:3: ï¼ :LDP man-pages:3.35:2008/09/01:sigorset:3:sigsetops:3: ○:LDP man-pages:3.35:2010/09/12:sigpause:3:2005/12/05::amotoki@dd.iij4u.or.jp:Akihiro MOTOKI: -×:LDP man-pages:3.35:2011/09/18:sigqueue:3::::: +○:LDP man-pages:3.35:2007/07/26:sigqueue:3:2007/10/11::amotoki@dd.iij4u.or.jp:Akihiro MOTOKI: ï¼ :LDP man-pages:3.35:2010/09/20:sigrelse:3:sigset:3: ○:LDP man-pages:3.35:2010/09/20:sigset:3:2005/12/08::amotoki@dd.iij4u.or.jp:Akihiro MOTOKI: ï¼ :LDP man-pages:3.35:2009/06/26:sigsetjmp:3:setjmp:3: