about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-05-16 20:46:02 +0000
committerRoland McGrath <roland@gnu.org>1999-05-16 20:46:02 +0000
commitb7b5a61059efbe0dc38b283fa7bb8b744ca4935a (patch)
treec28f3481d5436b0a1981e12b2986ebddcb0a584d
parent32abdb710c9335481da780eab5ad790318d2fadf (diff)
downloadglibc-b7b5a61059efbe0dc38b283fa7bb8b744ca4935a.tar.gz
glibc-b7b5a61059efbe0dc38b283fa7bb8b744ca4935a.tar.xz
glibc-b7b5a61059efbe0dc38b283fa7bb8b744ca4935a.zip
1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
-rw-r--r--bits/termios.h3
-rw-r--r--sysdeps/generic/bits/termios.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/bits/termios.h b/bits/termios.h
index da059cbf06..b05bc18e88 100644
--- a/bits/termios.h
+++ b/bits/termios.h
@@ -1,5 +1,5 @@
 /* termios type and macro definitions.  4.4 BSD/generic GNU version.
-   Copyright (C) 1993, 1994, 1996, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1993,94,96,97,99 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
@@ -113,6 +113,7 @@ struct termios
 #ifdef	__USE_BSD
 # define CCTS_OFLOW	(1 << 16)	/* CTS flow control of output.  */
 # define CRTS_IFLOW	(1 << 17)	/* RTS flow control of input.  */
+# define CRTSCTS	(CCTS_OFLOW|CRTS_IFLOW)	/* CTS/RTS flow control.  */
 # define MDMBUF		(1 << 20)	/* Carrier flow control of output.  */
 #endif
 
diff --git a/sysdeps/generic/bits/termios.h b/sysdeps/generic/bits/termios.h
index da059cbf06..b05bc18e88 100644
--- a/sysdeps/generic/bits/termios.h
+++ b/sysdeps/generic/bits/termios.h
@@ -1,5 +1,5 @@
 /* termios type and macro definitions.  4.4 BSD/generic GNU version.
-   Copyright (C) 1993, 1994, 1996, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1993,94,96,97,99 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
@@ -113,6 +113,7 @@ struct termios
 #ifdef	__USE_BSD
 # define CCTS_OFLOW	(1 << 16)	/* CTS flow control of output.  */
 # define CRTS_IFLOW	(1 << 17)	/* RTS flow control of input.  */
+# define CRTSCTS	(CCTS_OFLOW|CRTS_IFLOW)	/* CTS/RTS flow control.  */
 # define MDMBUF		(1 << 20)	/* Carrier flow control of output.  */
 #endif