1 /* Copyright (C) 1994-1997 University of Dortmund
2    Department of Electrical Engineering, AG SIV
3 
4    VAUL is free software; you can redistribute it and/or modify it
5    under the terms of the GNU Library General Public License as
6    published by the Free Software Foundation; either version 2 of the
7    License, or (at your option) any later version.
8 
9    VAUL is distributed in the hope that it will be useful, but WITHOUT
10    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
11    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General
12    Public License for more details.
13 
14    You should have received a copy of the GNU Library General Public
15    License along with VAUL; see the file COPYING.LIB.  If not, write
16    to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
17    Boston, MA 02111-1307 USA.
18 
19 */
20 
21 #include <stdarg.h>
22 #include <stdio.h>
23 #include <stdlib.h>
24 
25 #include <freehdl/vaul-util.h>
26 
27 char *
vaul_aprintf(const char * fmt,...)28 vaul_aprintf (const char *fmt, ...)
29 {
30   va_list ap;
31   char *ret;
32   va_start(ap, fmt);
33   ret = vaul_vaprintf(fmt, ap);
34   va_end(ap);
35   return ret;
36 }
37