Chromium Code Reviews| Index: fusl/src/stdio/vsprintf.c |
| diff --git a/fusl/src/stdio/vsprintf.c b/fusl/src/stdio/vsprintf.c |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c57349d4d888d532b39a15d525d248b0eee3c48d |
| --- /dev/null |
| +++ b/fusl/src/stdio/vsprintf.c |
| @@ -0,0 +1,7 @@ |
| +#include <stdio.h> |
| +#include <limits.h> |
| + |
| +int vsprintf(char *restrict s, const char *restrict fmt, va_list ap) |
| +{ |
| + return vsnprintf(s, INT_MAX, fmt, ap); |
| +} |