hare

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

commit 75dc3079979d555a9f26b4629976207a4b90c219
parent ef0c281b86c873957449b05a0304cd9b41eceea2
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sun, 28 Aug 2022 12:47:16 +0200

rt+linux: add sync wrapper

Signed-off-by: Drew DeVault <sir@cmpwn.com>

Diffstat:
Mrt/+linux/syscalls.ha | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/rt/+linux/syscalls.ha b/rt/+linux/syscalls.ha @@ -833,3 +833,7 @@ export fn ptrace( return ret; }; }; + +export fn sync() (void | errno) = { + wrap_return(syscall0(SYS_sync))?; +};