hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit bda9d45cde0a79bb7c65302daa4b1ad2d49c72b4
parent 4e8cc85a1e492c7f359aabcb2ed16e157a6d72bb
Author: illiliti <illiliti@dimension.sh>
Date:   Sat,  2 Sep 2023 00:08:40 +0300

rt+linux: change io_uring_setup params to accept io_uring_params

Signed-off-by: illiliti <illiliti@dimension.sh>

Diffstat:
Mrt/+linux/syscalls.ha | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rt/+linux/syscalls.ha b/rt/+linux/syscalls.ha @@ -734,7 +734,7 @@ export fn setpriority(which: int, who: id_t, prio: int) (void | errno) = { wrap_return(syscall3(SYS_setpriority, which: u64, who: u64, prio: u64))?; }; -export fn io_uring_setup(entries: u32, params: *opaque) (int | errno) = { +export fn io_uring_setup(entries: u32, params: *io_uring_params) (int | errno) = { return wrap_return(syscall2(SYS_io_uring_setup, entries: u64, params: uintptr: u64))?: int; };