source: azure_iot_hub/trunk/musl-1.1.18/src/stdio/asprintf.c@ 389

Last change on this file since 389 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: 208 bytes
Line 
1#define _GNU_SOURCE
2#include <stdio.h>
3#include <stdarg.h>
4
5int asprintf(char **s, const char *fmt, ...)
6{
7 int ret;
8 va_list ap;
9 va_start(ap, fmt);
10 ret = vasprintf(s, fmt, ap);
11 va_end(ap);
12 return ret;
13}
Note: See TracBrowser for help on using the repository browser.