]>
Commit | Line | Data |
---|---|---|
0c1f3509 MG |
1 | #ifndef _ASPRINTF_H_ |
2 | #define _ASPRINTF_H_ | |
3 | ||
4 | /* Avoid namespace collisions with BSD/GNU asprintf. */ | |
5 | #ifdef asprintf | |
6 | #undef asprintf | |
7 | #endif | |
8 | #define asprintf libcperciva_asprintf | |
9 | ||
10 | /** | |
11 | * asprintf(ret, format, ...): | |
12 | * Do asprintf(3) like GNU and BSD do. | |
13 | */ | |
14 | int asprintf(char **, const char *, ...); | |
15 | ||
16 | #endif /* !_ASPRINTF_H_ */ |