hare

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

commit 3961e6290fd11da2e06dd3940658077bd2a451b4
parent 4d387ed61968f468e43571d15485b498e28acaec
Author: Lennart Jablonka <humm@ljabl.com>
Date:   Tue, 30 Jan 2024 19:55:51 +0000

rt: add TIOCSPGRP to +linux and +openbsd

I assume the value for FreeBSD is the same as for OpenBSD, but I haven't
tested that.

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

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

diff --git a/rt/+linux/types.ha b/rt/+linux/types.ha @@ -718,6 +718,7 @@ export type tcflag = enum uint { }; +export def TIOCSPGRP: u64 = 0x5410; export def TIOCGWINSZ: u64 = 0x5413; export def TIOCSWINSZ: u64 = 0x5414; export def TIOCSCTTY: u64 = 0x540e; diff --git a/rt/+openbsd/types.ha b/rt/+openbsd/types.ha @@ -439,6 +439,7 @@ export type cc = enum u8 { VSTATUS = 18, }; +export def TIOCSPGRP: u64 = 0x80047476; export def TIOCGWINSZ: u64 = 0x40087468; export def TIOCSWINSZ: u64 = 0x80087467; export def TIOCGETA: u64 = 0x402c7413;