source:
trunk/sys/dietlibc/vsprintf.c
@
1
| Last change on this file since 1 was 1, checked in by , 9 years ago | |
|---|---|
| File size: 289 bytes | |
| Line | |
|---|---|
| 1 | #include <stdarg.h> |
| 2 | #include <stdlib.h> |
| 3 | #include <stdio.h> |
| 4 | #include "dietwarning.h" |
| 5 | |
| 6 | int vsprintf(char *dest,const char *format, va_list arg_ptr) |
| 7 | { |
| 8 | return vsnprintf(dest,(size_t)-1,format,arg_ptr); |
| 9 | } |
| 10 | |
| 11 | link_warning("vsprintf","warning: Avoid *sprintf; use *snprintf. It is more secure.") |
Note: See TracBrowser
for help on using the repository browser.
