1 /* printf_alloca.c -- like sprintf with memory allocation
2 
3    Copyright 2001 Carl Worth
4 
5    This program is free software; you can redistribute it and/or modify
6    it under the terms of the GNU General Public License as published by
7    the Free Software Foundation; either version 2, or (at your option)
8    any later version.
9 
10    This program is distributed in the hope that it will be useful,
11    but WITHOUT ANY WARRANTY; without even the implied warranty of
12    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13    GNU General Public License for more details.
14 */
15 
16 #ifndef SPRINTF_ALLOC_H
17 #define SPRINTF_ALLOC_H
18 
19 int sprintf_alloc(char **str, const char *fmt, ...);
20 int sprintf_append_alloc(char **str, const char *fmt, ...);
21 
22 #endif
23