| 779 | |
| 780 | #if !defined(HAVE_SNPRINTF) || !defined(HAVE_C99_VSNPRINTF) |
| 781 | int snprintf(char *str, size_t count, const char *fmt, ...) { |
| 782 | size_t ret; |
| 783 | va_list ap; |
| 784 | |
| 785 | va_start(ap, fmt); |
| 786 | ret = vsnprintf(str, count, fmt, ap); |
| 787 | va_end(ap); |
| 788 | return ret; |
| 789 | } |
| 790 | #endif |
| 791 | |
| 792 | #endif |
no test coverage detected