From: H. Peter Anvin Date: Sun, 13 Jul 2025 02:20:03 +0000 (-0700) Subject: termios: manual: remove duplicate cfgetospeed() definition X-Git-Tag: glibc-2.42~35 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5e78997c5662a16a3aaeec8c49b99e30e6e24046;p=thirdparty%2Fglibc.git 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 --- 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