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 <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
This commit is contained in:
Trung Nguyen 2023-05-09 11:08:06 +10:00 committed by Jessica Hamilton
parent 6550124ea0
commit 568b8f9395

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 */