CTL_STATUS_t ctl_ms_write_block(CTL_STREAM_t s, const void *data, size_t len);
ctl_ms_write_block writes bytes from the memory pointed to by data to the file s.
ctl_ms_write_block returns the number of bytes written or a CTL error code if an error occurred whilst writing.
ctl_ms_write_block is thread-safe.