CTL_STATUS_t ctl_stream_read_line(CTL_STREAM_t s, char *str, size_t size);
ctl_stream_read_line reads a line from the stream s (terminated by a new line character) and writes it into the string pointed to by str which is size bytes in size. This will terminate early if size−1 characters are read from the stream without a new line.
ctl_stream_read_line returns a standard status code.