logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface

Application Usage

       None.

Description

       The  cfgetospeed()  function  shall  extract the output baud rate from the termios structure to which the
       termios_p argument points.

       This function shall return exactly the value in the termios data structure, without interpretation.

Errors

       No errors are defined.

       Thefollowingsectionsareinformative.

Examples

       None.

Future Directions

       None.

Name

       cfgetospeed — get output baud rate

Prolog

       This  manual  page  is part of the POSIX Programmer's Manual.  The Linux implementation of this interface
       may differ (consult the corresponding Linux manual page for details of Linux behavior), or the  interface
       may not be implemented on Linux.

Rationale

       Refer to cfgetispeed().

Return Value

       Upon successful completion, cfgetospeed() shall return a value of type speed_t  representing  the  output
       baud rate.

See Also

cfgetispeed(), cfsetispeed(), cfsetospeed(), tcgetattr()

       The Base Definitions volume of POSIX.1‐2017, Chapter11, GeneralTerminalInterface, <termios.h>

Synopsis

       #include <termios.h>

       speed_t cfgetospeed(const struct termios *termios_p);

See Also