# posix: remove empty_sigset · gitcafe/zig

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

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

Visibility: public

Requested revision: f0aefa625b5b0d0b3612cfba9bd25c825a71818f

Requested commit: f0aefa625b5b0d0b3612cfba9bd25c825a71818f

Commit: f0aefa625b5b0d0b3612cfba9bd25c825a71818f

Tree: b4b4d660ed9d2795a7bacf454ba4d803b49d8450

Author: Pat Tullmann

Committer: Pat Tullmann

## Message

```
posix: remove empty_sigset

When linking a libc, Zig should defer to the C library for sigset
operations.  The pre-filled constants signal sets (empty_sigset,
filled_sigset) are not compatible with C library initialization, so remove
them and use the runtime `sigemptyset` and `sigfillset` methods to
initialize any sigset.

```

## Parents

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

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