Updated PCI IDs to latest snapshot.
[tangerine.git] / compiler / alib / sprintf.c
blobc1a8106642f320a101981c300a4257610cbd3281
1 /*
2 Copyright © 1995-2008, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <exec/rawfmt.h>
7 #include <proto/exec.h>
8 #include <stdarg.h>
10 /*****************************************************************************
12 NAME */
13 #include <proto/alib.h>
15 VOID __sprintf(
17 /* SYNOPSIS */
18 UBYTE *buffer, UBYTE *format, ...)
20 /* FUNCTION
21 Print a formatted string to a buffer.
23 INPUTS
24 buffer -- the buffer to fill
25 format -- the format string, see the RawDoFmt() documentation for
26 information on which formatting commands there are
28 RESULT
30 NOTES
32 EXAMPLE
34 BUGS
36 SEE ALSO
37 exec.library/RawDoFmt()
39 INTERNALS
41 HISTORY
42 07.01.2000 SDuvan implemented
44 *****************************************************************************/
46 va_list args;
48 va_start(args, format);
49 VNewRawDoFmt(format, RAWFMTFUNC_STRING, buffer, args);
50 va_end(args);
51 } /* sprintf */