termios: correct NOFLUSH to NOFLSH and add _POSIX_VDISABLE
authorAlan Cox <alan@linux.intel.com>
Tue, 30 Dec 2014 11:32:27 +0000 (11:32 +0000)
committerAlan Cox <alan@linux.intel.com>
Tue, 30 Dec 2014 11:32:27 +0000 (11:32 +0000)
Library/include/termios.h

index 2aa76ac..5b58dcd 100644 (file)
@@ -111,10 +111,12 @@ struct termios {
 #define ICANON 0x0010
 #define IEXTEN 0x0020
 #define ISIG   0x0040
-#define NOFLUSH        0x0080
+#define NOFLSH 0x0080
 #define TOSTOP 0x0100
 #define XCASE  0x0200
 
+#define _POSIX_VDISABLE        '\0'
+
 #define TCSANOW                0
 #define TCSADRAIN      1
 #define TCSAFLUSH      2