Commit | Line | Data |
---|---|---|
1 | #ifndef UST_SNPRINTF | |
2 | #define UST_SNPRINTF | |
3 | ||
4 | #include <stdarg.h> | |
5 | ||
6 | extern int ust_safe_vsnprintf(char *str, size_t n, const char *fmt, va_list ap); | |
7 | extern int ust_safe_snprintf(char *str, size_t n, const char *fmt, ...); | |
8 | ||
9 | #endif /* UST_SNPRINTF */ |