Update.
[glibc.git] / sysdeps / unix / sysv / linux / mips / kernel_termios.h
blob35be1bb290cd28ef4125504834635c44f3454b18
1 #ifndef _SYS_KERNEL_TERMIOS_H
2 #define _SYS_KERNEL_TERMIOS_H 1
3 /* The following corresponds to the values from the Linux 2.1.24 kernel. */
5 /* We need the definition of tcflag_t, cc_t, and speed_t. */
6 #include <bits/termios.h>
8 #define __KERNEL_NCCS 23
10 struct __kernel_termios
12 tcflag_t c_iflag; /* input mode flags */
13 tcflag_t c_oflag; /* output mode flags */
14 tcflag_t c_cflag; /* control mode flags */
15 tcflag_t c_lflag; /* local mode flags */
16 cc_t c_line; /* line discipline */
17 cc_t c_cc[__KERNEL_NCCS]; /* control characters */
20 #endif /* kernel_termios.h */