POSIX: asprintf and vasprintf are BSD/GNU extensions

fix #16259

Change-Id: Ia16bb6e1944b87b25d1a940bbdaaf6e236db1abf
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3381
Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
Jérôme Duval
2020-11-07 08:49:34 +00:00
parent 21ba652bab
commit b05d6f0af0
7 changed files with 19 additions and 2 deletions
+4
View File
@@ -19,6 +19,10 @@ extern "C" {
char *fgetln(FILE *stream, size_t *_length);
int asprintf(char **ret, char const *format, ...) __PRINTFLIKE(2,3);
int vasprintf(char **ret, char const *format, va_list ap);
#ifdef __cplusplus
}
#endif