Skip to content

Conversation

@bc-universe
Copy link

While looking for some io_uring specific syscalls around Odin, I ended up extending them with those and some more.

I was able to test most of the syscalls with success, even the io_uring ones, but there still might be something lurking around.
For testing I used a version of Odin with these changes and observed the results with strace.

This was my first go at Odin, please let me know if something feels off in terms of syntax.

@laytan
Copy link
Collaborator

laytan commented Sep 24, 2025

I have Io uring bindings in a pr that I'm working on, may be best to keep those out of this pr for now, also because I see flags, opcode, etc. being untyped here + I've written against those bindings of mine.

@bc-universe
Copy link
Author

Hey @laytan that sounds very nice!

I tried to keep everything simple and since I intended only to write the bare syscalls I did not go further with types and everything else.

If you feel like these do not add value I could remove the io_uring related code.
If the rest is useful it could be kept, if not I wouldn't mind closing this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants