---
name: "function::is_sig_blocked"
section: "3stap"
platform: "linux"
package: "systemtap-doc"
version: "5.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/function::is_sig_blocked"
---

# function::is\_sig\_blocked(3stap)

Returns 1 if the signal is currently blocked, or 0 if it is not

## NAME

function::is\_sig\_blocked - Returns 1 if the signal is currently blocked, or 0 if it is not

## SYNOPSIS

```
    is_sig_blocked:long(task:long,sig:long)
```

## ARGUMENTS

*task*

address of the task\_struct to query.

*sig*

the signal number to test.

## SEE ALSO0

[*tapset::signal*(3stap)](/tapset::signal/3stap.md)
