projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b5a6b8
)
Add ssnprintf2 wrapper variiant definition
author
Zebity Spring
<zebity@yahoo.com>
Sat, 21 Sep 2019 07:57:35 +0000
(17:57 +1000)
committer
Zebity Spring
<zebity@yahoo.com>
Sat, 21 Sep 2019 07:57:35 +0000
(17:57 +1000)
src/utils/common/common.h
patch
|
blob
|
history
diff --git
a/src/utils/common/common.h
b/src/utils/common/common.h
index
1ca6505
..
595ae3e
100644
(file)
--- a/
src/utils/common/common.h
+++ b/
src/utils/common/common.h
@@
-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,
...);