[haiku-commits] haiku: hrev48257 - headers/posix

  • From: revol@xxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 9 Nov 2014 02:29:53 +0100 (CET)

hrev48257 adds 1 changeset to branch 'master'
old head: 2356253278bd91154e03df5eb8f5fa2e302f22aa
new head: 1436fe7448ef691c602d278a2704f689baa179c7
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=1436fe7+%5E2356253

----------------------------------------------------------------------------

1436fe7: Add TIOCM_CAR as a synonym for TIOCM_CD
  
  Gnokii uses it.

                                          [ Fran├žois Revol <revol@xxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev48257
Commit:      1436fe7448ef691c602d278a2704f689baa179c7
URL:         http://cgit.haiku-os.org/haiku/commit/?id=1436fe7
Author:      Fran├žois Revol <revol@xxxxxxx>
Date:        Sun Nov  9 01:28:06 2014 UTC

----------------------------------------------------------------------------

1 file changed, 1 insertion(+)
headers/posix/termios.h | 1 +

----------------------------------------------------------------------------

diff --git a/headers/posix/termios.h b/headers/posix/termios.h
index 3aff5b9..f1c800f 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 */


Other related posts:

  • » [haiku-commits] haiku: hrev48257 - headers/posix - revol