Add TIOCM_CAR as a synonym for TIOCM_CD

Gnokii uses it.
This commit is contained in:
François Revol 2014-11-09 02:28:06 +01:00
parent 2356253278
commit 1436fe7448

View File

@ -211,6 +211,7 @@ struct winsize {
/* Bits for the TIOCMGET / TIOCMSET control */
#define TIOCM_CTS TCGB_CTS /* clear to send */
#define TIOCM_CD TCGB_DCD /* carrier detect */
#define TIOCM_CAR TIOCM_CD
#define TIOCM_RI TCGB_RI /* ring indicator */
#define TIOCM_DSR TCGB_DSR /* dataset ready */
#define TIOCM_DTR 0x10 /* data terminal ready */