From c489dee5454983e4630fd23babc8e4a19240758b Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Fri, 19 Dec 2025 13:38:20 -0700 Subject: [PATCH] Add TIOCGSID definition for Redox --- src/header/sys_ioctl/redox/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/header/sys_ioctl/redox/mod.rs b/src/header/sys_ioctl/redox/mod.rs index c859e6193c..f7a4c77846 100644 --- a/src/header/sys_ioctl/redox/mod.rs +++ b/src/header/sys_ioctl/redox/mod.rs @@ -31,6 +31,9 @@ pub const TIOCSPGRP: c_ulong = 0x5410; pub const TIOCGWINSZ: c_ulong = 0x5413; pub const TIOCSWINSZ: c_ulong = 0x5414; +//TODO: used by tcgetsid, not implemented yet on redox +pub const TIOCGSID: c_ulong = 0x5429; + pub const FIONREAD: c_ulong = 0x541B; pub const FIONBIO: c_ulong = 0x5421;