[PATCH 2/5] termios: manual: remove duplicate cfgetospeed() definition

H. Peter Anvin hpa@zytor.com
Sun Jun 29 16:09:03 GMT 2025


The function cfsetospeed() is defined twice in the manual. Remove the
one that seems out of place.

Signed-off-by: "H. Peter Anvin" (Intel) <hpa@zytor.com>
---
 manual/terminal.texi | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/manual/terminal.texi b/manual/terminal.texi
index 8a9259f69989..ddab2581a368 100644
--- a/manual/terminal.texi
+++ b/manual/terminal.texi
@@ -1047,16 +1047,6 @@ The @code{speed_t} type is an unsigned integer data type used to
 represent line speeds.
 @end deftp
 
-@deftypefun speed_t cfgetospeed (const struct termios *@var{termios-p})
-@standards{POSIX.1, termios.h}
-@safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}}
-@c Direct access to a single termios field, except on Linux, where
-@c multiple accesses may take place.  No worries either way, callers
-@c must ensure mutual exclusion on such non-opaque types.
-This function returns the output line speed stored in the structure
-@code{*@var{termios-p}}.
-@end deftypefun
-
 @strong{Portability note:} In @theglibc{}, the functions above
 accept speeds measured in bits per second as input, and return speed
 values measured in bits per second.  Other libraries require speeds to
-- 
2.50.0



More information about the Libc-alpha mailing list