sigvec(3): example uses sigpause instead of sigmask
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
A message that is not in the archive (sent off-list or not yet received): [email protected]
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