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.
.\" Updated & Modified 2005-01-08, Yuichi SATO <ysato444@yahoo.co.jp>
.\" Updated 2007-09-08, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, 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
¤³¤Î´Ø¿ô¤¬¥ê¥¿¡¼¥ó¤¹¤ëÁ°¤Ë¡¢¾¯¤Ê¤¯¤È¤â
¤½¤Î¥¹¥ì¥Ã¥É¤ËÂФ·¤Æ¥·¥°¥Ê¥ë¤¬ÇÛÁ÷¤µ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
-.\"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
.\"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
.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)
.\" Updated & Modified 2005-01-08, Yuichi SATO <ysato444@yahoo.co.jp>
.\" Updated 2007-09-08, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, 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 ½ñ¼°
¤³¤Î´Ø¿ô¤¬¥ê¥¿¡¼¥ó¤¹¤ëÁ°¤Ë¡¢¾¯¤Ê¤¯¤È¤â
¤½¤Î¥¹¥ì¥Ã¥É¤ËÂФ·¤Æ¥·¥°¥Ê¥ë¤¬ÇÛÁ÷¤µ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
-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
.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)
@: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:
@: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: