# Fix io_uring_sqe to use the names of the first member of each union · gitcafe/zig

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

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

Visibility: public

Requested revision: 4bc1b7a7ac99d57619b4f9a84e159310820e83ff

Requested commit: 4bc1b7a7ac99d57619b4f9a84e159310820e83ff

Commit: 4bc1b7a7ac99d57619b4f9a84e159310820e83ff

Tree: c27823f6eb0a5abace7a3ca9019a1e182041ee11

Author: Joran Dirk Greef

Committer: Joran Dirk Greef

## Message

```
Fix io_uring_sqe to use the names of the first member of each union

Now we're really future-proof... no more `opflags` creeping in.

When anonymous unions land, we can start using `accept_flags` etc.

Until then, code using this struct won't break when the kernel adds features.

Refs: https://github.com/ziglang/zig/issues/6349
Refs: https://github.com/ziglang/zig/issues/985

```

## Parents

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

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