glibc/sysdeps/unix/sysv/linux/alpha/sys/kernel_termios.h

26 lines
735 B
C
Raw Normal View History

1997-01-24 02:23:43 +00:00
#ifndef _SYS_KERNEL_TERMIOS_H
#define _SYS_KERNEL_TERMIOS_H 1
1997-01-06 22:07:18 +00:00
/* The following corresponds to the values from the Linux 2.1.20 kernel. */
1997-01-24 02:23:43 +00:00
/* We need the definition of tcflag_t, cc_t, and speed_t. */
#include <termbits.h>
1997-01-23 04:24:10 +00:00
#define __KERNEL_NCCS 19
1997-01-06 22:07:18 +00:00
1997-01-23 04:24:10 +00:00
struct __kernel_termios
1997-01-06 22:07:18 +00:00
{
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 */
1997-01-23 04:24:10 +00:00
cc_t c_cc[__KERNEL_NCCS]; /* control characters */
1997-01-06 22:07:18 +00:00
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
1997-01-24 02:23:43 +00:00
#endif /* sys/kernel_termios.h */