linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Kalle Olavi Niemitalo <kon-X3B1VOXEql0@public.gmane.org>
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: sigvec(3): example uses sigpause instead of sigmask
Date: Wed, 12 Feb 2014 09:17:23 +0100	[thread overview]
Message-ID: <52FB2E13.4000904@gmail.com> (raw)
In-Reply-To: <87ppmt8iy3.fsf-qL6Mw06ygtSujaP1ieU9EPUpdFzICT1y@public.gmane.org>

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

      parent reply	other threads:[~2014-02-12  8:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52FB2E13.4000904@gmail.com \
    --to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=kon-X3B1VOXEql0@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).