# Ideas on vsprintf functionality?

**URL:** <https://forums.digi.com/t/ideas-on-vsprintf-functionality/9855>\
**Category:** Rabbit\
**Created:** [March 21, 2007, 7:36pm UTC](https://forums.digi.com/t/ideas-on-vsprintf-functionality/9855 "2007-03-21T19:36:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BobSmith](https://avatars.discourse-cdn.com/v4/letter/b/bc79bd/32.png) [@BobSmith](https://forums.digi.com/u/BobSmith)\
**Post date:** [March 21, 2007, 7:36pm UTC](https://forums.digi.com/t/ideas-on-vsprintf-functionality/9855/1 "2007-03-21T19:36:02Z")

</div>

Hi everyone,  
For an email-alerting application I am finding that I need to have functionality similar to Server Side Includes (SSI) except for an SMTP server application.  
As an example, I want the user to be able to construct an email or SMS message during run-time (not compile time) that can contain various variables.

I could realize this functionality if DC had a vsprintf function of the form:

int vsprintf(char \*buffer, char \*fmt, char \*args);  
instead of  
int sprintf(char \*buffer, char \*fmt, … );

But before I start “carving up” stdio to add this … Has anyone done this? or Does anyone have a better idea? or (best) Will Rabbit Semiconductor add a vsprintf function soon (hint, hint)?

Thanks,  
Bob
