From 482a38725d4e1d9b5aee18e2b2d5af3d0b0e54e9 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 19 May 2024 19:10:35 -0400 Subject: kernel: tty: Implement tty_ioctl() Signed-off-by: Ian Moffett --- sys/include/sys/tty.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/include') diff --git a/sys/include/sys/tty.h b/sys/include/sys/tty.h index a4595d5..18583a5 100644 --- a/sys/include/sys/tty.h +++ b/sys/include/sys/tty.h @@ -38,6 +38,10 @@ #include #endif +/* TTY ioctl commands */ +#define TCSETS 0x00000000U +#define TCGETS 0x00000001U + #if defined(_KERNEL) #define TTY_RING_SIZE 32 #define TTY_SOURCE_RAW 0x0001U /* Raw text */ -- cgit v1.2.3