hare

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

commit 7db5a18202953c543f2ba0f22f75ad95c2f38afa
parent 565f588552002b4c121c3921b557b9cb17e48ada
Author: Sebastian <sebastian@sebsite.pw>
Date:   Sun, 27 Aug 2023 03:08:07 -0400

unix::signal+freebsd: add SIGIOT

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

Diffstat:
Mrt/+freebsd/types.ha | 1+
Munix/signal/+freebsd.ha | 1+
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/rt/+freebsd/types.ha b/rt/+freebsd/types.ha @@ -343,6 +343,7 @@ export def SIGQUIT: int = 3; export def SIGILL: int = 4; export def SIGTRAP: int = 5; export def SIGABRT: int = 6; +export def SIGIOT: int = SIGABRT; export def SIGEMT: int = 7; export def SIGFPE: int = 8; export def SIGKILL: int = 9; diff --git a/unix/signal/+freebsd.ha b/unix/signal/+freebsd.ha @@ -289,6 +289,7 @@ export type sig = enum int { ILL = rt::SIGILL, // Illegal instruction. TRAP = rt::SIGTRAP, // Trace/breakpoint trap. ABRT = rt::SIGABRT, // Process abort. + IOT = rt::SIGIOT, // Synonym for ABRT, provided for compatibility. EMT = rt::SIGEMT, // Emulate instruction executed. FPE = rt::SIGFPE, // Erroneous arithmetic operation. KILL = rt::SIGKILL, // Kill (cannot be caught or ignored).