commit | 0b44a0315b47dd8eced9f3b7f31580cf14bbfc01 | [log] [tgz] |
---|---|---|
author | Rich Felker <[email protected]> | Sat Feb 12 00:22:29 2011 -0500 |
committer | Rich Felker <[email protected]> | Sat Feb 12 00:22:29 2011 -0500 |
tree | 6eaef0d8a720fa3da580de87b647fff796fe80b3 |
initial check-in, version 0.5.0
diff --git a/src/stdio/vsprintf.c b/src/stdio/vsprintf.c new file mode 100644 index 0000000..7836ccb --- /dev/null +++ b/src/stdio/vsprintf.c
@@ -0,0 +1,7 @@ +#include <stdio.h> +#include <limits.h> + +int vsprintf(char *s, const char *fmt, va_list ap) +{ + return vsnprintf(s, INT_MAX, fmt, ap); +}