Import asprintf() and vasprintf()

Ported from libnbcompat by Gautam Tirumala
This commit is contained in:
Arun Thomas
2010-07-11 13:46:58 +00:00
parent ae9fa7fdf6
commit 1cee6fe95e
3 changed files with 101 additions and 0 deletions

View File

@@ -152,4 +152,9 @@ _PROTOTYPE(int vsnprintf, (char *_s, size_t _n, const char *_format,
_PROTOTYPE(char *fgetln, (FILE *stream, size_t *len));
#endif
#ifdef _MINIX
_PROTOTYPE(int asprintf, (char **ret, const char *fmt, ...));
_PROTOTYPE(int vasprintf, (char **ret, const char *fmt, char *_arg));
#endif /* _MINIX */
#endif /* _STDIO_H */