[PATCH] Linux: Define struct termios2 in <termios.h> under _GNU_SOURCE [BZ #10339]
hpa at zytor.com
hpa at zytor.com
Tue Apr 16 01:54:28 AEST 2019
On April 9, 2019 11:50:24 PM PDT, Florian Weimer <fweimer at redhat.com> wrote:
>* hpa:
>
>> PowerPC doesn't need it at all.
>
>Because the definition would be the same as struct termios?
>
>I think we should still define struct termios2 using the struct termios
>definition, and also define TCGETS2 and TCSETS2. This way,
>applications
>can use the struct termios2 type without affecting portability to
>POWER.
>
>Thanks,
>Florian
Agreed. There is just no reason to have a new set of ioctl numbers for PowerPC; just make them aliases.
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
More information about the Linuxppc-dev
mailing list