psprintf, pvsprintf - sprintf which allocates the result in a pool |
#include <pstring.h> char *psprintf (pool, const char *format, ...) __attribute__ ((format (printf, 2, 3))); char *pvsprintf (pool, const char *format, va_list ap); |
The psprintf function is equivalent to sprintf but it allocates the result string in pool. |
pvsprintf works similarly to vsprintf. |
Richard Jones <rich@annexia.org> |
GNU LGPL (see http://www.gnu.org/) |
c2lib-1.2.13 |