Merge branch 'osx_fix' of https://github.com/sitsofe/fio
[fio.git] / oslib / asprintf.h
1 #ifndef FIO_ASPRINTF_H
2 #define FIO_ASPRINTF_H
3
4 #include <stdarg.h>
5
6 #ifndef CONFIG_HAVE_VASPRINTF
7 int vasprintf(char **strp, const char *fmt, va_list ap);
8 #endif
9 #ifndef CONFIG_HAVE_ASPRINTF
10 int asprintf(char **strp, const char *fmt, ...);
11 #endif
12
13 #endif /* FIO_ASPRINTF_H */