summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/bits/termios.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-09 03:08:14 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-09 03:08:14 +0000
commiteb1c3012e66fc6a966d5d90e14752a13d3a2f407 (patch)
tree1180d52c1ccb52d764b51133db3ed1a7cd79d0c7 /libc/sysdeps/linux/common/bits/termios.h
parent9f30696750017e4414f26ac51c402b5dad544eb2 (diff)
sync with glibc
Diffstat (limited to 'libc/sysdeps/linux/common/bits/termios.h')
-rw-r--r--libc/sysdeps/linux/common/bits/termios.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/bits/termios.h b/libc/sysdeps/linux/common/bits/termios.h
index 887b309ad..c71e4ad1f 100644
--- a/libc/sysdeps/linux/common/bits/termios.h
+++ b/libc/sysdeps/linux/common/bits/termios.h
@@ -1,5 +1,6 @@
/* termios type and macro definitions. Linux version.
- Copyright (C) 1993, 94, 95, 96, 97, 98, 99 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2003, 2005
+ Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -36,6 +37,8 @@ struct termios
cc_t c_cc[NCCS]; /* control characters */
speed_t c_ispeed; /* input speed */
speed_t c_ospeed; /* output speed */
+#define _HAVE_STRUCT_TERMIOS_C_ISPEED 1
+#define _HAVE_STRUCT_TERMIOS_C_OSPEED 1
};
/* c_cc characters */
@@ -72,6 +75,7 @@ struct termios
#define IXANY 0004000
#define IXOFF 0010000
#define IMAXBEL 0020000
+#define IUTF8 0040000
/* c_oflag bits */
#define OPOST 0000001
@@ -168,6 +172,7 @@ struct termios
#define __MAX_BAUD B4000000
#ifdef __USE_MISC
# define CIBAUD 002003600000 /* input baud rate (not used) */
+# define CMSPAR 010000000000 /* mark or space (stick) parity */
# define CRTSCTS 020000000000 /* flow control */
#endif