1 2 3 4 5
#include <stdarg.h> #include <stdio.h> int snprintf (char *buf, size_t size, const char *fmt, ...);