source:
trunk/sys/dietlibc/snprintf.c
@
428
Last change on this file since 428 was 1, checked in by , 8 years ago | |
---|---|
File size: 232 bytes |
Rev | Line | |
---|---|---|
[1] | 1 | #include <stdarg.h> |
2 | #include <stdio.h> | |
3 | ||
4 | int 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.