CTL_STATUS_t ctl_stream_write(CTL_STREAM_t s, const void *data, size_t len);
ctl_stream_write writes len bytes of data to the stream s from the object pointed to by data.
ctl_stream_write returns the number of characters transmitted, or a negative value if an error occurred.