mirror of
https://github.com/diegocr/libnix.git
synced 2026-09-12 03:30:29 +00:00
12 lines
227 B
C
12 lines
227 B
C
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
|
|
int snprintf(char *s,size_t size,const char *format,...)
|
|
{ int retval;
|
|
va_list args;
|
|
va_start(args,format);
|
|
retval=vsnprintf(s,size,format,args);
|
|
va_end(args);
|
|
return retval;
|
|
}
|