This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Linux: Define struct termios2 in <termios.h> under _GNU_SOURCE [BZ #10339]
- From: Florian Weimer <fweimer at redhat dot com>
- To: hpa at zytor dot com
- Cc: libc-alpha at sourceware dot org, adhemerval dot zanella at linaro dot org, linux-api at vger dot kernel dot org, linuxppc-dev at lists dot ozlabs dot org
- Date: Wed, 10 Apr 2019 08:50:24 +0200
- Subject: Re: [PATCH] Linux: Define struct termios2 in <termios.h> under _GNU_SOURCE [BZ #10339]
- References: <875zrnlakd.fsf@oldenburg2.str.redhat.com> <EF5CE34B-1A82-4391-B07E-DB832814AD1C@zytor.com>
* 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