2 #include <linux/kernel.h>
5 int vscnprintf(char *buf, size_t size, const char *fmt, va_list args)
7 int i = vsnprintf(buf, size, fmt, args);
10 return (i >= ssize) ? (ssize - 1) : i;
13 int scnprintf(char * buf, size_t size, const char * fmt, ...)
20 i = vsnprintf(buf, size, fmt, args);
23 return (i >= ssize) ? (ssize - 1) : i;