Add ssnprintf2 wrapper variiant definition
authorZebity Spring <zebity@yahoo.com>
Sat, 21 Sep 2019 07:57:35 +0000 (17:57 +1000)
committerZebity Spring <zebity@yahoo.com>
Sat, 21 Sep 2019 07:57:35 +0000 (17:57 +1000)
src/utils/common/common.h

index 1ca6505..595ae3e 100644 (file)
@@ -69,6 +69,9 @@ char *sstrncpy(char *dest, const char *src, size_t n);
 __attribute__((format(printf, 3, 4))) int ssnprintf(char *str, size_t size,
                                                     char const *format, ...);
 
+__attribute__((format(printf, 3, 4))) int ssnprintf2(char *str, size_t size,
+                                                     char const *format, ...);
+
 __attribute__((format(printf, 1, 2))) char *ssnprintf_alloc(char const *format,
                                                             ...);