[PATCH 02/12] termios: Consolidate struct termios
Gabriel F. T. Gomes
gabriel@inconstante.eti.br
Fri Nov 9 17:11:00 GMT 2018
On Fri, 09 Nov 2018, Adhemerval Zanella wrote:
>For termios we do not follow kernel userspace ABI, glibc defines both
>input and output speed in termios structure and it differs from termios
>kernel generic abi (include/uapi/asm-generic/termios.h). In fact glibc
>follows the termios2 struct definition for most architectures (although
>we still issues ioctl using old API).
>
>And we are stuck on current termios struct, so we can't change it unless
>we add compatibility symbols. Which I think it is worth only if/when
>glibc start to use termios2 internally and only for architectures that
>termios does not provide all information termios2 requires (sparc and
>mips basically).
Thank you so much for the explanation.
More information about the Libc-alpha
mailing list