make CRTSCTS be one bit wide, and define CRTS_IFLOW and CCTS_OFLOW

in terms of it (for compatibility).  CRTSCTS == "bidirectional
RTS/CTS flow control".  CRTS_IFLOW and CCTS_OFLOW are mostly-unused,
and will go away eventually.
This commit is contained in:
cgd 1994-03-12 03:14:19 +00:00
parent 5b7db22d24
commit 899cb3e1af
1 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* from: @(#)termios.h 7.22 (Berkeley) 5/7/91 * from: @(#)termios.h 7.22 (Berkeley) 5/7/91
* $Id: termios.h,v 1.6 1994/02/09 20:54:52 mycroft Exp $ * $Id: termios.h,v 1.7 1994/03/12 03:14:19 cgd Exp $
*/ */
#ifndef _SYS_TERMIOS_H_ #ifndef _SYS_TERMIOS_H_
@ -135,9 +135,9 @@
#define HUPCL 0x00004000 /* hang up on last close */ #define HUPCL 0x00004000 /* hang up on last close */
#define CLOCAL 0x00008000 /* ignore modem status lines */ #define CLOCAL 0x00008000 /* ignore modem status lines */
#ifndef _POSIX_SOURCE #ifndef _POSIX_SOURCE
#define CCTS_OFLOW 0x00010000 /* CTS flow control of output */ #define CRTSCTS 0x00010000 /* RTS/CTS full-duplex flow control */
#define CRTSCTS CCTS_OFLOW /* ??? */ #define CRTS_IFLOW CRTSCTS /* XXX compat */
#define CRTS_IFLOW 0x00020000 /* RTS flow control of input */ #define CCTS_OFLOW CRTSCTS /* XXX compat */
#define MDMBUF 0x00100000 /* flow control output via Carrier */ #define MDMBUF 0x00100000 /* flow control output via Carrier */
#endif #endif