tcflow: add flags for ioctl switch
authorFaisal Abbas <90.abbasfaisal@gmail.com>
Sun, 15 Mar 2015 13:05:25 +0000 (13:05 +0000)
committerAlan Cox <alan@linux.intel.com>
Sun, 15 Mar 2015 16:11:27 +0000 (16:11 +0000)
Kernel/include/tty.h
Library/include/termios.h

index 5c747aa..7adee42 100644 (file)
@@ -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
index 72d2688..f5ca02e 100644 (file)
@@ -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));