source: trunk/sys/dietlibc/vsprintf.c @ 132

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

First import

File size: 289 bytes
Line 
1#include <stdarg.h>
2#include <stdlib.h>
3#include <stdio.h>
4#include "dietwarning.h"
5
6int vsprintf(char *dest,const char *format, va_list arg_ptr)
7{
8  return vsnprintf(dest,(size_t)-1,format,arg_ptr);
9}
10
11link_warning("vsprintf","warning: Avoid *sprintf; use *snprintf. It is more secure.")
Note: See TracBrowser for help on using the repository browser.