Daniel Stenberg | ae26233 | 2003-02-07 09:42:57 +0000 | [diff] [blame] | 1 | #include <stdarg.h> |
| 2 | #include <stdio.h> |
| 3 | |
Daniel Stenberg | ab3868a | 2003-04-25 12:43:10 +0000 | [diff] [blame] | 4 | int rockbox_snprintf (char *buf, size_t size, const char *fmt, ...); |
Daniel Stenberg | 004f690 | 2003-04-25 12:36:14 +0000 | [diff] [blame] | 5 | int rockbox_vsnprintf (char *buf, int size, const char *fmt, va_list ap); |
| 6 | int rockbox_fprintf (int fd, const char *fmt, ...); |
Daniel Stenberg | ae26233 | 2003-02-07 09:42:57 +0000 | [diff] [blame] | 7 | |
Björn Stenberg | 3f54121 | 2003-06-29 16:43:15 +0000 | [diff] [blame] | 8 | #ifndef NO_REDEFINES_PLEASE |
Daniel Stenberg | 004f690 | 2003-04-25 12:36:14 +0000 | [diff] [blame] | 9 | #define snprintf rockbox_snprintf |
| 10 | #define vsnprintf rockbox_vsnprintf |
| 11 | #define fprintf rockbox_fprintf |
Björn Stenberg | 3f54121 | 2003-06-29 16:43:15 +0000 | [diff] [blame] | 12 | #endif |