13#if defined(OS_USE_OS_APP_CONFIG_H)
14#include <cmsis-plus/os-app-config.h>
24#pragma clang diagnostic ignored "-Wc++98-compat"
39 type_ |=
static_cast<type_t
>(type::tty);
40#if defined(OS_TRACE_POSIX_IO_TTY)
41 trace::printf (
"tty::%s(\"%s\")=@%p\n", __func__, name_,
this);
47#if defined(OS_TRACE_POSIX_IO_TTY)
88#if defined(OS_TRACE_POSIX_IO_TTY)
95#if defined(OS_TRACE_POSIX_IO_TTY)
const char * name(void) const
virtual ~tty_impl() override
virtual int do_tcsendbreak(int duration)=0
virtual int do_tcgetattr(termios *ptio)=0
virtual int do_tcflush(int queue_selector)=0
virtual int do_isatty(void) final
virtual int do_tcsetattr(int options, const termios *ptio)=0
virtual int do_tcdrain(void)=0
virtual int tcdrain(void)
virtual int tcsendbreak(int duration)
virtual int tcgetattr(termios *ptio)
virtual int tcflush(int queue_selector)
virtual int tcsetattr(int options, const termios *ptio)
tty_impl & impl(void) const
virtual ~tty() noexcept override
int printf(const char *format,...)
Write a formatted string to the trace device.