diff options
author | Ian Moffett <ian@osmora.org> | 2024-05-18 00:56:56 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-05-18 00:56:56 -0400 |
commit | 7a4d21532d17f86f95e9ecb1d07878653ac5f6ef (patch) | |
tree | 167eafbb7be2173d53125e429fa018b5d79c4596 | |
parent | bc4e474ed84e77335ab90668378df7ec22cd571e (diff) |
kernel: termios: Add ICANON flag
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r-- | sys/include/sys/termios.h | 6 |
1 files changed, 5 insertions, 1 deletions
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; |