# fix std.os.accept4 · gitcafe/zig

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

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

Visibility: public

Requested revision: bf16fc210bc765202489ae83e0ad1dce8d9b4e16

Requested commit: bf16fc210bc765202489ae83e0ad1dce8d9b4e16

Commit: bf16fc210bc765202489ae83e0ad1dce8d9b4e16

Tree: 7ab6cf25343606c2065b80a2f83294c56c6bca54

Author: Luna

Committer: Luna

## Message

```
fix std.os.accept4

 - add WouldBlock to list of errors in AcceptError
 - ptrCast addr_size to the system's socklen_t, instead of assuming it's
    usize

```

## Parents

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

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