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

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)