2 Copyright © 1995-2012, The AROS Development Team. All rights reserved.
5 Format a string and call a usercallback to output each char.
7 /* Original source from libnix */
11 #include <aros/debug.h>
13 /*****************************************************************************
21 FILE * restrict stream
,
22 const char * restrict format
,
26 Format a list of arguments and print them on the specified stream.
29 stream - A stream on which one can write
30 format - A printf() format string.
31 args - A list of arguments for the format string.
34 The number of characters written.
46 ******************************************************************************/
48 D(bug("Calling __vcformat(stream=%x, fputc=%x, format='%s', ...)\n",
52 return __vcformat (stream
, (int (*)(int, void *))fputc
, format
, args
);