13#if defined(OS_USE_OS_APP_CONFIG_H)
14#include <cmsis-plus/os-app-config.h>
27#pragma clang diagnostic ignored "-Wc++98-compat"
42#if defined(OS_TRACE_POSIX_IO_CHAR_DEVICE)
43 trace::printf (
"char_device::%s(\"%s\")=@%p\n", __func__, name_,
this);
51#if defined(OS_TRACE_POSIX_IO_CHAR_DEVICE)
52 trace::printf (
"char_device::%s() @%p %s\n", __func__,
this, name_);
55 registry_links_.unlink ();
64#if defined(OS_TRACE_POSIX_IO_CHAR_DEVICE)
65 trace::printf (
"char_device_impl::%s()=@%p\n", __func__,
this);
71#if defined(OS_TRACE_POSIX_IO_CHAR_DEVICE)
72 trace::printf (
"char_device_impl::%s() @%p\n", __func__,
this);
76#pragma GCC diagnostic push
78#pragma clang diagnostic ignored "-Wunused-parameter"
79#elif defined(__GNUC__)
80#pragma GCC diagnostic ignored "-Wunused-parameter"
90#pragma GCC diagnostic pop
virtual off_t do_lseek(off_t offset, int whence) override
virtual ~char_device_impl() override
virtual void do_sync(void) override
char_device_impl & impl(void) const
virtual ~char_device() override
static void link(value_type *device)
const char * name(void) const
int printf(const char *format,...)
Write a formatted string to the trace device.