hare

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

commit 8164df021f0deedbbc245f3e484ee9d3e478745c
parent 37fb2f54134ea73af4b3e54edcfc66a1fcc1cd2e
Author: Lennart Jablonka <humm@ljabl.com>
Date:   Thu, 28 Mar 2024 12:58:46 +0000

rt/+openbsd: fix writev syscall

Signed-off-by: Lennart Jablonka <humm@ljabl.com>

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

diff --git a/rt/+openbsd/syscalls.ha b/rt/+openbsd/syscalls.ha @@ -938,7 +938,7 @@ export fn readv(fd: int, iov: const *[*]iovec, iovcnt: int) (size | errno) = { // writev -@symbol("readv") fn libc_writev(d: int, iov: const *[*]iovec, iovcnt: int) size; +@symbol("writev") fn libc_writev(d: int, iov: const *[*]iovec, iovcnt: int) size; export fn writev(fd: int, iov: const *[*]iovec, iovcnt: int) (size | errno) = { let res: u64 = libc_writev(fd, iov, iovcnt);