hare

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

commit 5157b4439e9f5cd7b5f5b1c258ea762d826eb139
parent 1f52a36d631371afa3c5abd3031611d0a7425e02
Author: Sebastian <sebastian@sebsite.pw>
Date:   Thu, 11 May 2023 22:01:50 -0400

os::exec: fix peekany docs

Diffstat:
Mos/exec/process+freebsd.ha | 4++--
Mos/exec/process+linux.ha | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/os/exec/process+freebsd.ha b/os/exec/process+freebsd.ha @@ -126,8 +126,8 @@ export fn peek(proc: *process) (status | void | error) = { return st; }; -// Waits for the first child process to complete, then returns its process info -// and status +// Checks if any child process has completed, returning its process info and +// status if so. export fn peekany() ((process, status) | void | error) = { let ru: rt::rusage = rt::rusage { ... }; let st: status = status { ... }; diff --git a/os/exec/process+linux.ha b/os/exec/process+linux.ha @@ -113,8 +113,8 @@ export fn peek(proc: *process) (status | void | error) = { return st; }; -// Waits for the first child process to complete, then returns its process info -// and status +// Checks if any child process has completed, returning its process info and +// status if so. export fn peekany() ((process, status) | void | error) = { let ru: rt::rusage = rt::rusage { ... }; let st: status = status { ... };