From: Pierre-Marc Fournier Date: Fri, 26 Feb 2010 05:30:07 +0000 (-0500) Subject: add missing ust_snprintf.h X-Git-Tag: v0.3~21 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a1eb70f9e84c938b1f63be652f98490d4817477a;p=ust.git add missing ust_snprintf.h --- diff --git a/include/ust_snprintf.h b/include/ust_snprintf.h new file mode 100644 index 0000000..da63dc6 --- /dev/null +++ b/include/ust_snprintf.h @@ -0,0 +1,9 @@ +#ifndef UST_SNPRINTF +#define UST_SNPRINTF + +#include + +extern int ust_safe_vsnprintf(char *str, size_t n, const char *fmt, va_list ap); +extern int ust_safe_snprintf(char *str, size_t n, const char *fmt, ...); + +#endif /* UST_SNPRINTF */