Skip to contentSkip to conversation

sigvec(3): example uses sigpause instead of sigmask

DISCUSSION Kalle Olavi Niemitalo 2 participants 2 messages Feb 11, 2014 – Feb 12, 2014 1 message not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
In reply to a message not in the archive
Quoted 8 lines · Kalle Olavi Niemitalo

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

Signature · 7 lines
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html