2 Copyright © 1995-2018, The AROS Development Team. All rights reserved.
5 Function to format a string like printf().
12 #ifndef AROS_NO_LIMITS_H
15 # define ULONG_MAX 4294967295UL
23 #define FULL_SPECIFIERS
26 const unsigned char *const __stdc_char_decimalpoint
= ".";
28 /* support macros for FMTPRINTF */
29 #define FMTPRINTF_COUT(c) do \
30 { if((*outc)((unsigned char)(c),data)==EOF) \
35 #define FMTPRINTF_STRLEN(str) strlen(str)
37 #define FMTPRINTF_DECIMALPOINT __stdc_char_decimalpoint
39 #include "fmtprintf_pre.c"
41 /*****************************************************************************
49 int (* outc
)(int, void *),
54 Format a list of arguments and call a function for each char
58 data - This is passed to the user callback outc as its second argument.
59 outc - Call this function for every character that should be
60 emitted. The function should return EOF on error and
62 format - A printf() format string.
63 args - A list of arguments for the format string.
66 The number of characters written.
78 ******************************************************************************/
80 #include "fmtprintf.c"