Chameleon

Chameleon Svn Source Tree

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

Source at commit 1295 created 12 years 8 months ago.
By meklort, Remove libsaio.h from klibc
1/*
2 * snprintf.c
3 */
4
5#include <stdio.h>
6#include <stdarg.h>
7
8extern int vsnprintf(char *buffer, size_t n, const char *format, va_list ap);
9
10int snprintf(char *buffer, size_t n, const char *format, ...)
11{
12va_list ap;
13int rv;
14
15va_start(ap, format);
16rv = vsnprintf(buffer, n, format, ap);
17va_end(ap);
18return rv;
19}
20

Archive Download this file

Revision: 1295