casprintf.h 473 B

1234567891011121314151617181920212223242526272829
  1. #ifndef CASPRINTF_H_INCLUDED
  2. #define CASPRINTF_H_INCLUDED
  3. #include <stdarg.h>
  4. #include "c_util.h"
  5. #ifdef __cplusplus
  6. extern "C" {
  7. #endif
  8. extern const char * const strsol;
  9. void
  10. cvasprintf(const char ** const retvalP,
  11. const char * const fmt,
  12. va_list varargs);
  13. void GNU_PRINTF_ATTR(2,3)
  14. casprintf(const char ** const retvalP, const char * const fmt, ...);
  15. void
  16. strfree(const char * const string);
  17. #ifdef __cplusplus
  18. }
  19. #endif
  20. #endif