# std.posix: Consider invalid signal numbers to sigaction\(\) to be programmer error\. · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/2cced8903e07066a724a81257dadae233dd5893f)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 2cced8903e07066a724a81257dadae233dd5893f

Requested commit: 2cced8903e07066a724a81257dadae233dd5893f

Commit: 2cced8903e07066a724a81257dadae233dd5893f

Tree: b362b1feea40b538fde6cf2ee503125107414415

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
std.posix: Consider invalid signal numbers to sigaction() to be programmer error.

The set of signals that cannot have their action changed is documented in POSIX,
and any additional, non-standard signals are documented by the specific OS. I
see no valid reason why EINVAL should be considered an unpredictable error here.

```

## Parents

- [4d2868f24298981f67dea03ab523a97fd9399a43](https://git.cafe/gitcafe/zig/commit/4d2868f24298981f67dea03ab523a97fd9399a43?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/2cced8903e07066a724a81257dadae233dd5893f?format=markdown)
