| 1 | /* termios input mode definitions.  Linux/generic version. | 
|---|
| 2 | Copyright (C) 2019-2022 Free Software Foundation, Inc. | 
|---|
| 3 | This file is part of the GNU C Library. | 
|---|
| 4 |  | 
|---|
| 5 | The GNU C Library is free software; you can redistribute it and/or | 
|---|
| 6 | modify it under the terms of the GNU Lesser General Public | 
|---|
| 7 | License as published by the Free Software Foundation; either | 
|---|
| 8 | version 2.1 of the License, or (at your option) any later version. | 
|---|
| 9 |  | 
|---|
| 10 | The GNU C Library is distributed in the hope that it will be useful, | 
|---|
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 
|---|
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | 
|---|
| 13 | Lesser General Public License for more details. | 
|---|
| 14 |  | 
|---|
| 15 | You should have received a copy of the GNU Lesser General Public | 
|---|
| 16 | License along with the GNU C Library.  If not, see | 
|---|
| 17 | <https://www.gnu.org/licenses/>.  */ | 
|---|
| 18 |  | 
|---|
| 19 | #ifndef _TERMIOS_H | 
|---|
| 20 | # error "Never include <bits/termios-ciflags.h> directly; use <termios.h> instead." | 
|---|
| 21 | #endif | 
|---|
| 22 |  | 
|---|
| 23 | /* c_iflag bits */ | 
|---|
| 24 | #define IGNBRK	0000001  /* Ignore break condition.  */ | 
|---|
| 25 | #define BRKINT	0000002  /* Signal interrupt on break.  */ | 
|---|
| 26 | #define IGNPAR	0000004  /* Ignore characters with parity errors.  */ | 
|---|
| 27 | #define PARMRK	0000010  /* Mark parity and framing errors.  */ | 
|---|
| 28 | #define INPCK	0000020  /* Enable input parity check.  */ | 
|---|
| 29 | #define ISTRIP	0000040  /* Strip 8th bit off characters.  */ | 
|---|
| 30 | #define INLCR	0000100  /* Map NL to CR on input.  */ | 
|---|
| 31 | #define IGNCR	0000200  /* Ignore CR.  */ | 
|---|
| 32 | #define ICRNL	0000400  /* Map CR to NL on input.  */ | 
|---|
| 33 | #define IUCLC	0001000  /* Map uppercase characters to lowercase on input | 
|---|
| 34 | (not in POSIX).  */ | 
|---|
| 35 | #define IXON	0002000  /* Enable start/stop output control.  */ | 
|---|
| 36 | #define IXANY	0004000  /* Enable any character to restart output.  */ | 
|---|
| 37 | #define IXOFF	0010000  /* Enable start/stop input control.  */ | 
|---|
| 38 | #define IMAXBEL	0020000  /* Ring bell when input queue is full | 
|---|
| 39 | (not in POSIX).  */ | 
|---|
| 40 | #define IUTF8	0040000  /* Input is UTF8 (not in POSIX).  */ | 
|---|
| 41 |  | 
|---|