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) <hpa@zytor.com>
Reviewed-by: Collin Funk <collin.funk1@gmail.com>
This commit is contained in:
H. Peter Anvin 2025-07-12 19:20:03 -07:00 committed by Andreas K. Hüttel
parent 118370fd78
commit 5e78997c56
No known key found for this signature in database
GPG Key ID: DC2B16215ED5412A
1 changed files with 0 additions and 10 deletions

View 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