From 1436fe7448ef691c602d278a2704f689baa179c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Sun, 9 Nov 2014 02:28:06 +0100 Subject: [PATCH] Add TIOCM_CAR as a synonym for TIOCM_CD Gnokii uses it. --- headers/posix/termios.h | 1 + 1 file changed, 1 insertion(+) diff --git a/headers/posix/termios.h b/headers/posix/termios.h index 3aff5b945c..f1c800f8ef 100644 --- a/headers/posix/termios.h +++ b/headers/posix/termios.h @@ -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 */