st_get_buf_and_cnt
static int st_get_buf_and_cnt(char **, int *);
if (st_get_buf_and_cnt(&buf, &send_cnt) < 0)