Added asnprintf and vasnprintf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1633 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -110,11 +110,21 @@ int asprintf (char **ret, const char *format, ...)
|
||||
__attribute__ ((format (printf, 2, 3)));
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_VSNPRINTF
|
||||
#ifndef HAVE_VASPRINTF
|
||||
int vasprintf (char **ret, const char *format, va_list ap)
|
||||
__attribute__((format (printf, 2, 0)));
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_ASNPRINTF
|
||||
int asnprintf (char **ret, size_t max_sz, const char *format, ...)
|
||||
__attribute__ ((format (printf, 3, 4)));
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_VASNPRINTF
|
||||
int vasnprintf (char **ret, size_t max_sz, const char *format, va_list ap)
|
||||
__attribute__((format (printf, 3, 0)));
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_STRDUP
|
||||
char * strdup(const char *old);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user