Synopsis
CTL_STATUS_t ctl_ms_read_block(CTL_STREAM_t s,
                               void *data,
                               size_t len);
Description

ctl_ms_read_block reads bytes from the file s into the memory pointed to by data.

ctl_ms_read_block returns the number of bytes read or a CTL error code if an error occurred whilst reading.

Thread Safety

ctl_ms_read_block is thread-safe.