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