- Set a default PCM volume so that something can be heard when driver is
[AROS.git] / compiler / alib / newrawdofmt.c
blob30db853d2be997c89c13d1f1eef14f757ba701f5
1 /*
2 Copyright © 1995-2008, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Format a string and emit it.
6 Lang: english
7 */
8 #include <exec/execbase.h>
9 #include <stdarg.h>
10 #define NO_INLINE_STDARG
11 #include <proto/exec.h>
13 /*****************************************************************************
15 NAME */
17 STRPTR NewRawDoFmt(
19 /* SYNOPSIS */
20 CONST_STRPTR FormatString,
21 VOID_FUNC PutChProc,
22 APTR PutChData,
23 ... )
25 /* FUNCTION
26 This is the varargs version of exec.library/VNewRawDoFmt().
27 For information see exec.library/VNewRawDoFmt().
29 RESULT
31 NOTES
33 EXAMPLE
35 BUGS
37 SEE ALSO
39 INTERNALS
41 ******************************************************************************/
43 STRPTR retval;
44 va_list args;
46 va_start(args, PutChData);
47 retval = VNewRawDoFmt(FormatString, PutChProc, PutChData, args);
48 va_end(args);
49 return retval;
51 } /* NewRawDoFmt */