The stdio_stream module provides a standard-I/O-backed adapter for the stream port in the foundation layer.
It provides:
stream_t handles bound to process standard streams,stream factory.The module is designed to connect:
stream port,stdin, stdout, stderr),Sub-APIs:
The stdio_stream module is a foundation adapter module for the stream port. It implements the stream backend contract on top of the process standard I/O streams and exposes Composition Root entry points for direct creation and factory registration.
Typical responsibilities:
stream_t handles bound to stdin, stdout, or stderr,stream_adapter_desc_t descriptors for registration into the stream factory.The Composition Root can create a standard-I/O-backed stream directly through:
The Composition Root can register the adapter into a stream factory through:
The adapter relies on injected dependencies grouped in stdio_stream_env_t, typically including:
stream port environment.The adapter provides stream behavior backed by process standard streams:
stdin:stdout / stderr:Additional properties:
osal_stdio_ops_t,This adapter is part of the surrounding stream family and targets the stream port.