Returns the set of blocked signals that are currently blocked from this thread.
fn pending_signals() -> Result<Sigset, Errno>
sigpending(2)