mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-12 12:07:12 +08:00
moved up.
This commit is contained in:
parent
761ac1b6d0
commit
f735960c20
@ -1,25 +0,0 @@
|
||||
#ifndef _SYS_KERNEL_TERMIOS_H
|
||||
#define _SYS_KERNEL_TERMIOS_H 1
|
||||
/* The following corresponds to the values from the Linux 2.1.20 kernel. */
|
||||
|
||||
/* We need the definition of tcflag_t, cc_t, and speed_t. */
|
||||
#include <termbits.h>
|
||||
|
||||
#define __KERNEL_NCCS 19
|
||||
|
||||
struct __kernel_termios
|
||||
{
|
||||
tcflag_t c_iflag; /* input mode flags */
|
||||
tcflag_t c_oflag; /* output mode flags */
|
||||
tcflag_t c_cflag; /* control mode flags */
|
||||
tcflag_t c_lflag; /* local mode flags */
|
||||
cc_t c_cc[__KERNEL_NCCS]; /* control characters */
|
||||
cc_t c_line; /* line discipline */
|
||||
speed_t c_ispeed; /* input speed */
|
||||
speed_t c_ospeed; /* output speed */
|
||||
};
|
||||
|
||||
#define _HAVE_C_ISPEED 1
|
||||
#define _HAVE_C_OSPEED 1
|
||||
|
||||
#endif /* sys/kernel_termios.h */
|
Loading…
Reference in New Issue
Block a user