# std.c: fix W functions for NetBSD · gitcafe/zig

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

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

Visibility: public

Requested revision: fb66d7712ca5d41b408f35835d8b796e1d9c0e73

Requested commit: fb66d7712ca5d41b408f35835d8b796e1d9c0e73

Commit: fb66d7712ca5d41b408f35835d8b796e1d9c0e73

Tree: bb90b952b9eff6cea78fdb08b8fa4391dc23a689

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
std.c: fix W functions for NetBSD

I'm not sure where the old logic came from but it certainly didn't match NetBSD
10.1 system headers, and was causing the build system to see incorrect exit
status information for processes that were expected to crash (e.g. SIGABRT).

```

## Parents

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

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