# std.posix: handle INVAL in openZ and openatZ · gitcafe/zig

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

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

Visibility: public

Requested revision: b4e7b6fdba2e4e212f8fa1e258ab6e869691baf0

Requested commit: b4e7b6fdba2e4e212f8fa1e258ab6e869691baf0

Commit: b4e7b6fdba2e4e212f8fa1e258ab6e869691baf0

Tree: b30beddfc3929e0747ad87c26254196ff09b0d80

Author: Ketan Reynolds

Committer: Ryan Liptak

## Message

```
std.posix: handle INVAL in openZ and openatZ

Contributes to #15607

Although the case is not handled in `openatWasi` (as I could not get a
working wasi environment to test the change) I have added a FIXME
addressing it and linking to the issue.

```

## Parents

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

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