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

ctl_stream_read reads len bytes of data from the stream s into the object pointed to by data.

Return Value

ctl_stream_read returns the number of characters received, or a negative value if an error occurred.