src/stdlib/zstr.c
/* append varargs printf style input to zstring */
append varargs printf style input to zstring
append varargs printf style input to zstring
char *
zs_appvf (ZSTR zstr, const char * fmt, va_list args)
{
	static char buffer[4096];
	vsnprintf(buffer, sizeof(buffer), fmt, args);
	zs_apps(zstr, buffer);
	return zstr->str;
}
char * zs_appvf ( ZSTR zstr , const char * fmt , va_list args ) { static char buffer [ 4096 ] ; vsnprintf ( buffer , sizeof ( buffer ) , fmt , args ) ; zs_apps ( zstr , buffer ) ; return zstr -> str ; }
append varargs printf style input to zstring
append varargs printf style input to zstring
/* if we know that the system implementation of snprintf was
	standards conformant, we could use snprintf(0, ...), but how to tell ? */