headers/posix: Add TIOCM_RNG as a synonym for TIOCM_RI

dotnet uses it.

Change-Id: Ie5658263a0fd9c0aa833cc468ddcafe08116a30d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6385
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Jessica Hamilton <[email protected]>
This commit is contained in:
Trung Nguyen
2023-05-11 02:55:38 +00:00
committed by Jessica Hamilton
parent 6550124ea0
commit 568b8f9395
+2 -1
View File
@@ -212,8 +212,9 @@ 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_CAR TCGB_DCD
#define TIOCM_RI TCGB_RI /* ring indicator */
#define TIOCM_RNG TCGB_RI
#define TIOCM_DSR TCGB_DSR /* dataset ready */
#define TIOCM_DTR 0x10 /* data terminal ready */
#define TIOCM_RTS 0x20 /* request to send */