From 7a4d21532d17f86f95e9ecb1d07878653ac5f6ef Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 18 May 2024 00:56:56 -0400 Subject: kernel: termios: Add ICANON flag Signed-off-by: Ian Moffett --- sys/include/sys/termios.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sys/include') diff --git a/sys/include/sys/termios.h b/sys/include/sys/termios.h index 875ee71..963c885 100644 --- a/sys/include/sys/termios.h +++ b/sys/include/sys/termios.h @@ -44,9 +44,13 @@ #define OPOST 0x00000001U /* Enable output processing */ #if defined(_KERNEL) || defined(_HYRA_SOURCE) #define OCRNL 0x00000002U /* Map NL to CR-NL */ -#define ORBUF 0x00000004U /* Buffer bytes */ #endif /* defined(_KERNEL) || defined(_HYRA_SOURCE) */ +/* + * Local flags + */ +#define ICANON 0x00000001U + typedef uint32_t tcflag_t; typedef uint32_t speed_t; typedef uint8_t cc_t; -- cgit v1.2.3