ringbuf_to_string
ringbuf_to_string(reply_text, MAX_MEMBUF,
ssize_t ringbuf_to_string(char *, size_t, struct ringbuf *);