glibc/sysdeps/unix/sysv/linux/bits
H. Peter Anvin e04afb7177 linux/termio: remove <termio.h> and struct termio
The <termio.h> interface is absolutely ancient: it was obsoleted by
<termios.h> already in the first version of POSIX (1988) and thus
predates the very first version of Linux. Unfortunately, some constant
macros are used both by <termio.h> and <termios.h>; particularly
problematic is the baud rate constants since the termio interface
*requires* that the baud rate is set via an enumeration as part of
c_cflag.

In preparation of revamping the termios interface to support the
arbitrary baud rate capability that the Linux kernel has supported
since 2008, remove <termio.h> in the hope that no one still uses this
archaic interface.

Note that there is no actual code in glibc to support termio: it is
purely an unabstracted ioctl() interface.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Reviewed-by: Florian Weimer <fweimer@redhat.com>
2025-04-25 07:30:59 +02:00
..
types
a.out.h
dirent.h
dirent_ext.h
epoll.h
errno.h
eventfd.h
fcntl-linux.h Add AT_* constants from Linux 6.12 2025-04-22 17:00:34 +00:00
fcntl.h
in.h
initspin.h
inotify.h
ioctl-types.h linux/termio: remove <termio.h> and struct termio 2025-04-25 07:30:59 +02:00
ioctls.h
ipc-perm.h
local_lim.h
mman-linux.h
mman-map-flags-generic.h
mman-shared.h
mman.h
mman_ext.h
mqueue.h
msq.h
param.h
poll.h
posix_opt.h
procfs-extra.h
procfs-id.h
procfs-prregset.h
procfs.h
pthread_stack_min-dynamic.h
pthread_stack_min.h
ptrace-shared.h
resource.h
rseq.h
sched.h
sem.h
semaphore.h
shm.h
shmlba.h
sigaction.h
sigcontext.h
sigevent-consts.h
siginfo-arch.h
siginfo-consts-arch.h
siginfo-consts.h
signal_ext.h
signalfd.h
signum-arch.h
sigstack.h
sigstksz.h
socket-constants.h
socket.h
socket_type.h
spawn_ext.h
ss_flags.h
stat.h
statfs.h
statvfs.h
statx.h
stdio_lim.h
struct_stat.h
struct_stat_time64_helper.h
termios-baud.h
termios-c_cc.h
termios-c_cflag.h
termios-c_iflag.h
termios-c_lflag.h
termios-c_oflag.h
termios-misc.h
termios-struct.h
termios-tcflow.h
termios.h
time.h
timerfd.h
timex.h
typesizes.h
uio-ext.h
uio_lim.h
unistd_ext.h
utsname.h
waitflags.h