# std.os.linux: rework io_uring support · gitcafe/zig

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

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

Visibility: public

Requested revision: 265f42d472fa110c1e211e5f82fdf540ee198aa8

Requested commit: 265f42d472fa110c1e211e5f82fdf540ee198aa8

Commit: 265f42d472fa110c1e211e5f82fdf540ee198aa8

Tree: 5fa4bccaaf36b8e76fcd423eb0fd35f35d53b82c

Author: mlugg

Committer: mlugg

## Message

```
std.os.linux: rework io_uring support

* `linux.IO_Uring` -> `linux.IoUring` to align with naming conventions.
* All functions `io_uring_prep_foo` are now methods `prep_foo` on `io_uring_sqe`, which is in a file of its own.
* `SubmissionQueue` and `CompletionQueue` are namespaced under `IoUring`.

This is a breaking change.

The new file and namespace layouts are more idiomatic, and allow us to
eliminate one more usage of `usingnamespace` from the standard library.
2 remain.

```

## Parents

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

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