Skip to content
systemcoding.dev

Snippets

Short posts that solve one thing: the code, the output we got, and why it works.

Networking

Queue a read with io_uring_prep_read

Queue an asynchronous file read with io_uring_prep_read in liburing 2.5 on Linux 6.8, submit it, and read the byte count from cqe->res.

1 min read
Networking

Initialise a ring with io_uring_queue_init

Create an io_uring instance with io_uring_queue_init in liburing 2.5 on Linux 6.8, check the negative errno return, and release it with io_uring_queue_exit.

1 min read

Get new posts by email

We send one email when a new post is published. No spam.

Unsubscribe in one click. No spam, ever.