vscnprintf
n = vscnprintf(
vscnprintf(error_msg, sizeof(error_msg), fmt, args);
len = vscnprintf(e->buf + e->bytes, e->size - e->bytes, fmt, args);