File size: 473 Bytes
fd49381
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef CASPRINTF_H_INCLUDED
#define CASPRINTF_H_INCLUDED

#include <stdarg.h>

#include "c_util.h"

#ifdef __cplusplus
extern "C" {
#endif

extern const char * const strsol;

void
cvasprintf(const char ** const retvalP,
           const char *  const fmt,
           va_list             varargs);

void GNU_PRINTF_ATTR(2,3)
casprintf(const char ** const retvalP, const char * const fmt, ...);

void
strfree(const char * const string);

#ifdef __cplusplus
}
#endif

#endif