Skip to content

Commit 1d2d57e

Browse files
committed
sys:termios:fix wrong define for tcsetattr action
Signed-off-by: Ajay Bhargav <[email protected]>
1 parent 057582d commit 1d2d57e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/sys/termios.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@
156156

157157
/* Line Control constants for use with tcflush(): */
158158
#define TCIFLUSH 1 /**< Flush pending input. Flush un-transmitted output. */
159-
#define TCIOFLUSH 2 /**< Flush both pending input and un-transmitted output. */
160-
#define TCOFLUSH 3 /**< Flush un-transmitted output. */
159+
#define TCOFLUSH 2 /**< Flush un-transmitted output. */
160+
#define TCIOFLUSH 3 /**< Flush both pending input and un-transmitted output. */
161161

162162
/* constants for use with tcflow(): */
163163
#define TCIOFF 0 /**< Transmit a STOP character, intended to suspend input data. */

0 commit comments

Comments
 (0)