From 740f7bc0581810f752132235e023fe0b8e602bdc Mon Sep 17 00:00:00 2001 From: Faisal Abbas <90.abbasfaisal@gmail.com> Date: Sun, 15 Mar 2015 13:05:25 +0000 Subject: [PATCH] tcflow: add flags for ioctl switch --- Kernel/include/tty.h | 3 +++ Library/include/termios.h | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Kernel/include/tty.h b/Kernel/include/tty.h index 5c747aa2..7adee42d 100644 --- a/Kernel/include/tty.h +++ b/Kernel/include/tty.h @@ -136,6 +136,9 @@ struct termios { #define TIOCHANGUP 7 /* vhangup() */ +#define TIOCOSTOP 8 +#define TIOCOSTART 9 + #define KBMAPSIZE 0x20 #define KBMAPGET 0x21 #define VTSIZE 0x22 diff --git a/Library/include/termios.h b/Library/include/termios.h index 72d26880..f5ca02ee 100644 --- a/Library/include/termios.h +++ b/Library/include/termios.h @@ -139,7 +139,8 @@ struct termios { #define TIOCINQ 5 #define TIOCFLUSH 6 #define TIOCHANGUP 7 /* vhangup() */ - +#define TIOCOSTOP 8 +#define TIOCOSTART 9 extern speed_t cfgetispeed __P ((const struct termios *__termios_p)); extern speed_t cfgetospeed __P ((const struct termios *__termios_p)); -- 2.34.1