Xen Test Framework
stdio.c
Go to the documentation of this file.
1#include <xtf/libc.h>
2
3int snprintf(char *buf, size_t size, const char *fmt, ...)
4{
5 va_list args;
6 int rc;
7
8 va_start(args, fmt);
9 rc = vsnprintf(buf, size, fmt, args);
10 va_end(args);
11
12 return rc;
13}
static int vsnprintf(char *buf, size_t size, const char *fmt, va_list args)
Definition: libc.h:54
#define va_end(v)
Definition: stdarg.h:11
#define va_start(v, l)
Definition: stdarg.h:10
__builtin_va_list va_list
Definition: stdarg.h:9
int snprintf(char *buf, size_t size, const char *fmt,...)
Definition: stdio.c:3