* @brief Gets the input baud rate from a termios structure. * @param tio Pointer to a struct termios containing the terminal attributes. * @return Input baud rate extracted from the terminal attributes. * * @note This function is a wrapper for the cfgetospeed() function. * It returns the input baud rate by calling cfgetospeed() with the termios structure pointer tio. */
| 116 | * It returns the input baud rate by calling cfgetospeed() with the termios structure pointer tio. |
| 117 | */ |
| 118 | speed_t cfgetispeed(const struct termios *tio) |
| 119 | { |
| 120 | return cfgetospeed(tio); |
| 121 | } |
| 122 | |
| 123 | /** |
| 124 | * @brief Sets the output baud rate in a termios structure. |
nothing calls this directly
no test coverage detected