19 FwSizeType capped_size = (size <= std::numeric_limits<size_t>::max()) ? size : std::numeric_limits<size_t>::max();
20 if (message !=
nullptr) {
21 (void)::fwrite(message,
sizeof(
CHAR),
static_cast<size_t>(capped_size), this->m_handle.
m_file_descriptor);
27 return &this->m_handle;
PlatformSizeType FwSizeType
Stream
Stream selection enumeration.
@ STANDARD_OUT
Use standard output stream.
@ STANDARD_ERROR
Use standard error stream.
void writeMessage(const CHAR *message, const FwSizeType size) override
write message to console
void setOutputStream(Stream stream)
select the output stream
ConsoleHandle * getHandle() override
returns the raw console handle
Base class for storing implementation specific handle information.
FILE * m_file_descriptor
Posix console file descriptor.