This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 02/12] termios: Consolidate struct termios


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]