#if !defined(PARROT_MISC_H_GUARD)
#define PARROT_MISC_H_GUARD

#include "parrot/parrot.h"
#include <stdarg.h>

STRING *Parrot_vsprintf_s(struct Parrot_Interp *, STRING *pat, va_list *);

STRING *Parrot_vsprintf_c(struct Parrot_Interp *, const char *pat, va_list *);

void Parrot_vsprintf(struct Parrot_Interp *, char *targ, const char *pat,
                     va_list *);

void Parrot_vsnprintf(struct Parrot_Interp *, char *targ, UINTVAL len,
                      const char *pat, va_list *);

STRING *Parrot_sprintf_s(struct Parrot_Interp *, STRING *pat, ...);

STRING *Parrot_sprintf_c(struct Parrot_Interp *, const char *pat, ...);

void Parrot_sprintf(struct Parrot_Interp *, char *targ, const char *pat, ...);

void Parrot_snprintf(struct Parrot_Interp *, char *targ, UINTVAL len,
                     const char *pat, ...);


#endif

/*
 * Local variables:
 * c-indentation-style: bsd
 * c-basic-offset: 4
 * indent-tabs-mode: nil
 * End:
 *
 * vim: expandtab shiftwidth=4:
 */
