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 Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
a.out.h
dirent.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dirent_ext.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
epoll.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
errno.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
eventfd.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
fcntl-linux.h Add AT_* constants from Linux 6.12 2025-04-22 17:00:34 +00:00
fcntl.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
in.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
initspin.h
inotify.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
ioctl-types.h linux/termio: remove <termio.h> and struct termio 2025-04-25 07:30:59 +02:00
ioctls.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
ipc-perm.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
local_lim.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
mman-linux.h nptl: Add support for setup guard pages with MADV_GUARD_INSTALL 2025-01-30 10:16:37 -03:00
mman-map-flags-generic.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
mman-shared.h mlock, mlock2, munlock: Use __attr_access_none macro 2025-01-02 17:58:06 +00:00
mman.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
mman_ext.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
mqueue.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
msq.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
param.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
poll.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
posix_opt.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
procfs-extra.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
procfs-id.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
procfs-prregset.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
procfs.h Unify some sys/procfs.h headers. 2018-09-25 16:48:15 +00:00
pthread_stack_min-dynamic.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
pthread_stack_min.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
ptrace-shared.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
resource.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
rseq.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
sched.h Linux: Remove attribute access from sched_getattr (bug 32781) 2025-03-12 10:23:47 +01:00
sem.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
semaphore.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
shm.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
shmlba.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
sigaction.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
sigcontext.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
sigevent-consts.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
siginfo-arch.h
siginfo-consts-arch.h
siginfo-consts.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
signal_ext.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
signalfd.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
signum-arch.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
sigstack.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
sigstksz.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
socket-constants.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
socket.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
socket_type.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
spawn_ext.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
ss_flags.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
stat.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
statfs.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
statvfs.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
statx.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
stdio_lim.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
struct_stat.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
struct_stat_time64_helper.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
termios-baud.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
termios-c_cc.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
termios-c_cflag.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
termios-c_iflag.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
termios-c_lflag.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
termios-c_oflag.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
termios-misc.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
termios-struct.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
termios-tcflow.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
termios.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
time.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
timerfd.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
timex.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
typesizes.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
uio-ext.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
uio_lim.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
unistd_ext.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
utsname.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
waitflags.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00