do_buf
len = do_buf(str->data, str->length, type, flags, "es, io_ch, NULL);
if (do_buf(str->data, str->length, type, flags, NULL, io_ch, arg) < 0)