Re: [PATCH v9 04/14] linux/termios/powerpc: deal with powerpc-unique ioctl emulation
H. Peter Anvin
hpa@zytor.com
Tue Jul 1 16:46:35 GMT 2025
On July 1, 2025 4:33:19 AM PDT, Florian Weimer <fweimer@redhat.com> wrote:
>* H. Peter Anvin:
>
>> diff --git a/sysdeps/unix/sysv/linux/powerpc/bits/ioctls.h b/sysdeps/unix/sysv/linux/powerpc/bits/ioctls.h
>> new file mode 100644
>> index 000000000000..e1921dfb86c0
>> --- /dev/null
>> +++ b/sysdeps/unix/sysv/linux/powerpc/bits/ioctls.h
>
>> +#define TCGETS2 _IOR ('t', 19, struct termios2)
>> +#define TCSETS2 _IOW ('t', 20, struct termios2)
>> +#define TCSETSW2 _IOW ('t', 21, struct termios2)
>> +#define TCSETSF2 _IOW ('t', 22, struct termios2)
>
>How is this expected to work given that POWER does not have a struct
>termios2 in any installed header?
>
>Thanks,
>Florian
>
About as well as all the other architectures...
More information about the Libc-alpha
mailing list