OSDN Git Service

(split) LDP sigqueue.3: updated to LDP v3.35.
authorAkihiro MOTOKI <amotoki@gmail.com>
Thu, 23 Feb 2012 17:15:33 +0000 (02:15 +0900)
committerAkihiro MOTOKI <amotoki@gmail.com>
Tue, 13 Mar 2012 19:09:26 +0000 (04:09 +0900)
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.

draft/man3/sigqueue.3 [moved from draft/man2/sigqueue.2 with 90% similarity]
release/man3/sigqueue.3 [moved from release/man2/sigqueue.2 with 87% similarity]
translation_list

similarity index 90%
rename from draft/man2/sigqueue.2
rename to draft/man3/sigqueue.3
index a2a2c99..008f90c 100644 (file)
@@ -29,7 +29,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
 .\"
 .\" 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 .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
 .\"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 Inside the glibc
 .\"O .BR sigqueue ()
 .\"O wrapper, this argument,
-.\"O .IR info ,
+.\"O .IR uinfo ,
 .\"O is initialized as follows:
 .\"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
 .I siginfo_t
 ¹½Â¤ÂΤǤ¢¤ë¡£
 .I siginfo_t
@@ -235,22 +237,24 @@ glibc 
 .BR sigqueue ()
 ¥é¥Ã¥Ñ¡¼´Ø¿ôÆâÉô¤Ç¤Ï¡¢
 ¤³¤Î°ú¤­¿ô
 .BR sigqueue ()
 ¥é¥Ã¥Ñ¡¼´Ø¿ôÆâÉô¤Ç¤Ï¡¢
 ¤³¤Î°ú¤­¿ô
-.I info
+.I uinfo
 ¤Ï°Ê²¼¤Î¤è¤¦¤Ë½é´ü²½¤µ¤ì¤ë¡£
 .in +4n
 .nf
 
 ¤Ï°Ê²¼¤Î¤è¤¦¤Ë½é´ü²½¤µ¤ì¤ë¡£
 .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),
 .fi
 .in
 .\"O .SH "SEE ALSO"
 .SH ´ØÏ¢¹àÌÜ
 .BR kill (2),
+.BR rt_sigqueueinfo (2),
 .BR sigaction (2),
 .BR signal (2),
 .BR sigaction (2),
 .BR signal (2),
+.BR pthread_sigqueue (3),
 .BR sigwait (3),
 .BR signal (7)
 .BR sigwait (3),
 .BR signal (7)
similarity index 87%
rename from release/man2/sigqueue.2
rename to release/man3/sigqueue.3
index b38ae64..47a8024 100644 (file)
@@ -29,7 +29,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
 .\"
 .\" 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 ½ñ¼°
 .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
 .I siginfo_t
 ¹½Â¤ÂΤǤ¢¤ë¡£
 .I siginfo_t
@@ -148,21 +149,23 @@ glibc 
 .BR sigqueue ()
 ¥é¥Ã¥Ñ¡¼´Ø¿ôÆâÉô¤Ç¤Ï¡¢
 ¤³¤Î°ú¤­¿ô
 .BR sigqueue ()
 ¥é¥Ã¥Ñ¡¼´Ø¿ôÆâÉô¤Ç¤Ï¡¢
 ¤³¤Î°ú¤­¿ô
-.I info
+.I uinfo
 ¤Ï°Ê²¼¤Î¤è¤¦¤Ë½é´ü²½¤µ¤ì¤ë¡£
 .in +4n
 .nf
 
 ¤Ï°Ê²¼¤Î¤è¤¦¤Ë½é´ü²½¤µ¤ì¤ë¡£
 .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),
 .fi
 .in
 .SH ´ØÏ¢¹àÌÜ
 .BR kill (2),
+.BR rt_sigqueueinfo (2),
 .BR sigaction (2),
 .BR signal (2),
 .BR sigaction (2),
 .BR signal (2),
+.BR pthread_sigqueue (3),
 .BR sigwait (3),
 .BR signal (7)
 .BR sigwait (3),
 .BR signal (7)
index 1ac8e60..c7681db 100644 (file)
 @: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: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: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: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:
 @: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: