termio support

Florian Weimer fweimer@redhat.com
Sun Mar 23 12:29:34 GMT 2025


* H. Peter Anvin:

> The one issue I'm running into is that the B... constants are shared
> with termio. Is there any sane reason whatsoever to support termio at
> all? The easiest way to deal with it would seem to remove <termio.h>
> entirely.
>
> Otherwise the B... constants would have to be different depending on
> whether <termio.h> or <termios.h> are included.

Our <termio.h> currently is just:

#include <termios.h>
#include <sys/ioctl.h>

Maybe you could send a header diff of what you want to remove?  We have
some heuristics to determine the source-level impact.

Are there ioctls that need to kept, but that would be incompatible with
the new B… constants?

Thanks,
Florian



More information about the Libc-alpha mailing list