]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
termios: manual: remove duplicate cfgetospeed() definition
authorH. Peter Anvin <hpa@zytor.com>
Sun, 13 Jul 2025 02:20:03 +0000 (19:20 -0700)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Sun, 20 Jul 2025 15:10:59 +0000 (17:10 +0200)
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>
Reviewed-by: Collin Funk <collin.funk1@gmail.com>
manual/terminal.texi

index 8a9259f699890f10a4a20785b110006e35b8e1bf..ddab2581a368ec771e0f8a99914c7caf25d0188d 100644 (file)
@@ -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