summaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/ldbl-opt/nldbl-asprintf.c
blob: 4be216d610f8f49dbb7641212a8a0a5d65fb085b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "nldbl-compat.h"

attribute_hidden
int
__asprintf (char **string_ptr, const char *fmt, ...)
{
  va_list arg;
  int done;

  va_start (arg, fmt);
  done = __nldbl_vasprintf (string_ptr, fmt, arg);
  va_end (arg);

  return done;
}
extern __typeof (__asprintf) asprintf attribute_hidden;
weak_alias (__asprintf, asprintf)