[PATCH 3/3] Linux: Keep termios ioctl constants strictly internal

Florian Weimer fweimer@redhat.com
Thu Jul 10 17:56:37 GMT 2025


* Mark Harris:

> Florian Weimer wrote:
>> --- a/NEWS
>> +++ b/NEWS
>> @@ -42,6 +42,10 @@ Deprecated and removed features, and other changes affecting compatibility:
>>    obsolete since the very first version of POSIX.1 in 1988, replaced
>>    with <termios.h>.
>>
>> +* On Linux, the ioctl constants TCGETS, TCSETS, TCSETSF, TCSETSW,
>> +  TCGETS2, TCSETS2, TCSETSF2, TCSETSW2.  Applications must use the
>
> The first sentence is incomplete.

Oops.  Fixed like this:

* On Linux, the ioctl constants TCGETS, TCSETS, TCSETSF, TCSETSW,
  TCGETS2, TCSETS2, TCSETSF2, TCSETSW2 are no longer defined in
  <sys/ioctl.h>.  Applications must use the high-level <termios.h>
  interfaces instead.

Thanks,
Florian



More information about the Libc-alpha mailing list