source: trunk/sys/dietlibc/sprintf.c @ 306

Last change on this file since 306 was 1, checked in by alain, 8 years ago

First import

File size: 235 bytes
Line 
1#include <stdarg.h>
2#include <stdlib.h>
3#include <stdio.h>
4
5int sprintf(char *dest,const char *format,...)
6{
7  int n;
8  va_list arg_ptr;
9  va_start(arg_ptr, format);
10  n=vsprintf(dest,format,arg_ptr);
11  va_end (arg_ptr);
12  return n;
13}
Note: See TracBrowser for help on using the repository browser.