source: azure_iot_hub/trunk/musl-1.1.18/src/stdio/snprintf.c

Last change on this file was 389, checked in by coas-nagasima, 5 years ago

ビルドが通るよう更新

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-csrc;charset=UTF-8
File size: 219 bytes
Line 
1#include <stdio.h>
2#include <stdarg.h>
3
4int snprintf(char *restrict s, size_t n, const char *restrict fmt, ...)
5{
6 int ret;
7 va_list ap;
8 va_start(ap, fmt);
9 ret = vsnprintf(s, n, fmt, ap);
10 va_end(ap);
11 return ret;
12}
13
Note: See TracBrowser for help on using the repository browser.