revert between 56095 -> 55830 in arch
[AROS.git] / workbench / network / stacks / AROSTCP / netlib / asprintf.c
blob3ad364f8e86d87ad95d69deb6b1f194164573d58
1 #include <clib/netlib_protos.h>
2 #include <stdio.h>
4 int asprintf(char **ret, const char *format, ...)
6 va_list ap;
7 int r;
9 va_start(ap, format);
10 r = vasprintf(ret, format, ap);
11 va_end(ap);
12 return r;