From 5e78997c5662a16a3aaeec8c49b99e30e6e24046 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Sat, 12 Jul 2025 19:20:03 -0700 Subject: [PATCH] termios: manual: remove duplicate cfgetospeed() definition The function cfsetospeed() is defined twice in the manual. Remove the one that seems out of place. Signed-off-by: "H. Peter Anvin" (Intel) Reviewed-by: Collin Funk --- manual/terminal.texi | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/manual/terminal.texi b/manual/terminal.texi index 8a9259f699..ddab2581a3 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.47.2