termios.h: Fix CRTSCTS define to include input and output flow

This commit is contained in:
Lorenz Meier
2016-12-26 07:41:44 -06:00
committed by Gregory Nutt
parent eb74b06c18
commit b0fcf3abd7
+1 -1
View File
@@ -110,8 +110,8 @@
#define HUPCL (1 << 6) /* Bit 6: Hang up on last close */
#define CLOCAL (1 << 7) /* Bit 7: Ignore modem status lines */
#define CCTS_OFLOW (1 << 8) /* Bit 8: CTS flow control of output */
#define CRTSCTS CCTS_OFLOW
#define CRTS_IFLOW (1 << 9) /* Bit 9: RTS flow control of input */
#define CRTSCTS (CRTS_IFLOW | CCTS_OFLOW)
/* Local Modes (c_lflag in the termios structure) */