2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 #include <proto/exec.h>
7 #include <aros/asmcall.h>
9 /* Putchar procedure needed by RawDoFmt() */
10 AROS_UFH2(void, __putChr
,
11 AROS_UFHA(UBYTE
, chr
, D0
),
12 AROS_UFHA(STRPTR
*, p
, A3
))
20 /*****************************************************************************
23 #include <proto/alib.h>
28 UBYTE
*buffer
, UBYTE
*format
, ...)
31 Print a formatted string to a buffer.
34 buffer -- the buffer to fill
35 format -- the format string, see the RawDoFmt() documentation for
36 information on which formatting commands there are
41 This routines needs access to SysBase, which makes it impossible to
42 use from libraries. For user programs, though, it is possible to
43 use it as SysBase is set up in startup.c.
50 exec.library/RawDoFmt()
55 07.01.2000 SDuvan implemented
57 *****************************************************************************/
60 RawDoFmt(format
, &format
+1, (VOID_FUNC
)__putChr
, &buffer
);