psprintf

NAME
SYNOPSIS
DESCRIPTION
AUTHOR
LICENSE
VERSION

NAME

psprintf, pvsprintf - sprintf which allocates the result in a pool

SYNOPSIS

#include <pstring.h>

char *psprintf (pool, const char *format, ...) __attribute__ ((format (printf, 2, 3)));
char *pvsprintf (pool, const char *format, va_list ap);

DESCRIPTION

The psprintf function is equivalent to sprintf but it allocates the result string in pool.
pvsprintf works similarly to vsprintf.

AUTHOR

Richard Jones <rich@annexia.org>

LICENSE

GNU LGPL (see http://www.gnu.org/)

VERSION

c2lib-1.2.13