Chameleon

Chameleon Svn Source Tree

Root/branches/xZenu/src/modules/klibc/sprintf.c

Source at commit 1308 created 12 years 8 months ago.
By meklort, Add a few placeholders for file io
1/*
2 * sprintf.c
3 */
4#include <stdarg.h>
5#include <stdio.h>
6
7int sprintf(char *buffer, const char *format, ...)
8{
9va_list ap;
10int rv;
11
12va_start(ap, format);
13rv = vsnprintf(buffer, ~(size_t) 0, format, ap);
14va_end(ap);
15
16return rv;
17}
18

Archive Download this file

Revision: 1308