hare

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

commit 54a001d48a62fd49455a394cd86db1c6bb51d116
parent f4b6f056a1e02a8214917570c93d56e3e1d6362b
Author: Sebastian <sebastian@sebsite.pw>
Date:   Mon,  8 May 2023 17:40:37 -0400

rt: make wait4 pointer params nullable

Diffstat:
Mrt/+freebsd/syscalls.ha | 4++--
Mrt/+linux/syscalls.ha | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/rt/+freebsd/syscalls.ha b/rt/+freebsd/syscalls.ha @@ -284,9 +284,9 @@ export fn fexecve(fd: int, argv: *[*]nullable *const char, export fn wait4( pid: int, - wstatus: *int, + wstatus: nullable *int, options: int, - rusage: *rusage, + rusage: nullable *rusage, ) (int | errno) = { return wrap_return(syscall4(SYS_wait4, pid: u64, wstatus: uintptr: u64, diff --git a/rt/+linux/syscalls.ha b/rt/+linux/syscalls.ha @@ -261,9 +261,9 @@ export fn getpid() int = syscall0(SYS_getpid): int; export fn wait4( pid: int, - wstatus: *int, + wstatus: nullable *int, options: int, - rusage: *rusage, + rusage: nullable *rusage, ) (int | errno) = { return wrap_return(syscall4(SYS_wait4, pid: u64, wstatus: uintptr: u64,