linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* sigvec(3): example uses sigpause instead of sigmask
@ 2014-02-11 20:59 Kalle Olavi Niemitalo
       [not found] ` <87ppmt8iy3.fsf-qL6Mw06ygtSujaP1ieU9EPUpdFzICT1y@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Kalle Olavi Niemitalo @ 2014-02-11 20:59 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

In man-pages 3.58, sigvec(3) contains this example of sigmask:

           vec.sv_mask = sigmask(SIGQUIT) | sigpause(SIGABRT);
                       /* Block SIGQUIT and SIGABRT during
                          handler execution */

The second call should be sigmask(SIGABRT).
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: sigvec(3): example uses sigpause instead of sigmask
       [not found] ` <87ppmt8iy3.fsf-qL6Mw06ygtSujaP1ieU9EPUpdFzICT1y@public.gmane.org>
@ 2014-02-12  8:17   ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-02-12  8:17 UTC (permalink / raw)
  To: Kalle Olavi Niemitalo
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

On 02/11/2014 09:59 PM, Kalle Olavi Niemitalo wrote:
> In man-pages 3.58, sigvec(3) contains this example of sigmask:
> 
>            vec.sv_mask = sigmask(SIGQUIT) | sigpause(SIGABRT);
>                        /* Block SIGQUIT and SIGABRT during
>                           handler execution */
> 
> The second call should be sigmask(SIGABRT).
> 

Thanks, Kalle. Fixed.

Cheers,

Michael



-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-12  8:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-11 20:59 sigvec(3): example uses sigpause instead of sigmask Kalle Olavi Niemitalo
     [not found] ` <87ppmt8iy3.fsf-qL6Mw06ygtSujaP1ieU9EPUpdFzICT1y@public.gmane.org>
2014-02-12  8:17   ` Michael Kerrisk (man-pages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).