From 5fe668c55bc6f733ca4920ad9a3941099af06840 Mon Sep 17 00:00:00 2001 From: "olaf.czerwinski" Date: Tue, 24 Feb 2026 16:00:40 +0100 Subject: [PATCH] termios: Add TIOCSHALFD for ioctl() for enabling half-duplex uart TASK: PP-428 --- include/termios.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/termios.h b/include/termios.h index e571a040..8aca4d40 100644 --- a/include/termios.h +++ b/include/termios.h @@ -200,6 +200,8 @@ struct winsize { #define TIOCSWINSZ _IOW('t', 0x14, struct winsize) #define TIOCNOTTY _IO('t', 0x22) #define TIOCGSID _IOR('t', 0x29, pid_t) +#define TIOCGHALFD _IOR('t', 0x80, int) +#define TIOCSHALFD _IOV('t', 0x81, int) /* tcflush */ enum { TCIFLUSH,