Add ADDRB from Linux 6.0 to bits/termios-c_cflag.h
commitb87a70e5e26e2656637da5f58ba4d26777d9e37b
authorJoseph Myers <joseph@codesourcery.com>
Mon, 24 Oct 2022 13:43:19 +0000 (24 13:43 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 24 Oct 2022 13:43:19 +0000 (24 13:43 +0000)
tree4049a602bdc90295f95cac993bfae62d571cc644
parent8775479804cfea2bbe4dcdf19d6589264c96d5fb
Add ADDRB from Linux 6.0 to bits/termios-c_cflag.h

Linux 6.0 adds a constant ADDRB, a termios c_cflag bit, to its
include/uapi/asm-generic/termbits-common.h.

Add it accordingly to glibc's bits/termios-c_cflag.h headers.  As
other constants in these headers are generally in octal, I converted
the value to octal to match.  As ADDRB isn't in a POSIX-reserved
namespace, I made it conditional on __USE_MISC.

Tested for x86_64.
sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h
sysdeps/unix/sysv/linux/bits/termios-c_cflag.h
sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h