---
name: "set_current_blocked"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/set_current_blocked"
---

# set\_current\_blocked(9)

change current-\>blocked mask

## NAME

set\_current\_blocked - change current-\>blocked mask

## SYNOPSIS

**void set\_current\_blocked(sigset\_t \*** *newset***);**

## ARGUMENTS

*newset*

new mask

## DESCRIPTION

It is wrong to change -\>blocked directly, this helper should be used to ensure the process can't miss a shared signal we are going to block.

## COPYRIGHT
