aboutsummaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2025-04-25 07:30:59 +0200
committerFlorian Weimer <fweimer@redhat.com>2025-04-25 07:30:59 +0200
commite04afb71771710cdc6025fe95908f5f17de7b72d (patch)
tree6d946c259f6d5a4a341a18f46c2140e75ef695e5 /NEWS
parente78caeb4ff812ae19d24d65f4d4d48508154277b (diff)
downloadglibc-e04afb71771710cdc6025fe95908f5f17de7b72d.tar.xz
glibc-e04afb71771710cdc6025fe95908f5f17de7b72d.zip
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>
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 740225ad12..df7268e5d0 100644
--- a/NEWS
+++ b/NEWS
@@ -27,6 +27,11 @@ Deprecated and removed features, and other changes affecting compatibility:
programs that require an executable stack through dynamic loaded
shared libraries.
+* On Linux, the <termio.h> header and the definition of struct termio
+ in <sys/ioctl.h> have been removed. The termio interface has been
+ obsolete since the very first version of POSIX.1 in 1988, replaced
+ with <termios.h>.
+
Changes to build and runtime requirements:
* GCC 12.1 or later is now required to build the GNU C Library.