hare

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

commit 7d6b7ec2fadabeb51d530b924926f3f9296caf3f
parent 934d35bdab15d8e6c5f2a0d47a6c0feacbf31026
Author: Sebastian <sebastian@sebsite.pw>
Date:   Mon, 10 Oct 2022 17:27:00 -0400

rt+linux: add EDEADLOCK

The value of this error is arch-specific. On most architectures (all
that are currently supported), this is an alias for EDEADLK, but the
values are distinct on other less common architectures. See errno(3).

Signed-off-by: Sebastian <sebastian@sebsite.pw>

Diffstat:
Mrt/+linux/+aarch64.ha | 2++
Mrt/+linux/+riscv64.ha | 2++
Mrt/+linux/+x86_64.ha | 2++
3 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/rt/+linux/+aarch64.ha b/rt/+linux/+aarch64.ha @@ -42,3 +42,5 @@ export type cmsghdr = struct { cmsg_level: int, cmsg_type: int, }; + +export def EDEADLOCK: int = EDEADLK; diff --git a/rt/+linux/+riscv64.ha b/rt/+linux/+riscv64.ha @@ -40,3 +40,5 @@ export type cmsghdr = struct { cmsg_level: int, cmsg_type: int, }; + +export def EDEADLOCK: int = EDEADLK; diff --git a/rt/+linux/+x86_64.ha b/rt/+linux/+x86_64.ha @@ -39,3 +39,5 @@ export type cmsghdr = struct { cmsg_level: int, cmsg_type: int, }; + +export def EDEADLOCK: int = EDEADLK;