Should entries
be u32 for std.os.linux.IoUring.init?
#22470
Labels
bug
Observed behavior contradicts documented or intended behavior
Zig Version
0.13.0
Steps to Reproduce and Observed Behavior
Visit here, and observe entries is u16:
https://ziglang.org/documentation/0.13.0/std/#src/std/os/linux/IoUring.zig
The code then calls the lower level function, where it's u32:
https://ziglang.org/documentation/0.13.0/std/#std.os.linux.io_uring_setup
This is the correct type according to the linux man pages:
https://www.man7.org/linux/man-pages/man2/io_uring_setup.2.html
Expected Behavior
I just want to know if there's a reason it's u16 in the wrapper, or it was just a typo.
The text was updated successfully, but these errors were encountered: