Mstdlib-1.24.0
Loopback (Simulation/Test) IO functions

Functions

M_io_error_t M_io_loopback_create (M_io_t **io_out)
 

Detailed Description

The loopback object will read and write to itself. This is intended for simple testing where read/write events are needed but the data isn't important. Since it reads/writes to itself anything written will cause a read event with that data.

Function Documentation

◆ M_io_loopback_create()

M_io_error_t M_io_loopback_create ( M_io_t **  io_out)

Create a loopback object

Parameters
[out]io_outio object for communication.
Returns
Result.