source: trunk/sys/dietlibc/snprintf.c @ 337

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

First import

File size: 232 bytes
RevLine 
[1]1#include <stdarg.h>
2#include <stdio.h>
3
4int snprintf(char *str,size_t size,const char *format,...)
5{
6  int n;
7  va_list arg_ptr;
8  va_start(arg_ptr, format);
9  n=vsnprintf(str,size,format,arg_ptr);
10  va_end (arg_ptr);
11  return n;
12}
Note: See TracBrowser for help on using the repository browser.