Snprintf(3) into an estring
#include <firestring.h>
-lfirestring
long firestring_estr_vsprintf(struct firestring_estr_t *out, const char * const format, va_list ap)
firestring_estr_vsprintf() behaves exactly like firestring_snprintf(3) except that it writes to an estring (which contains the size internally, so size is not needed as a parameter), and it takes an stdarg object instead of a list of arguments.
Returns the number of bytes written to out.
Ian Gulliver <[email protected]>