1 /************************************************************************/
2 /*									*/
3 /*  Printf to memory buffers.						*/
4 /*									*/
5 /************************************************************************/
6 
7 #   ifndef	UTIL_MB_PRINTF
8 #   define	UTIL_MB_PRINTF
9 
10 #   include	"utilMemoryBuffer.h"
11 
12 /************************************************************************/
13 /*									*/
14 /*  Routine declarations.						*/
15 /*									*/
16 /************************************************************************/
17 
18 #ifdef	__GNUC__
19 extern int utilMemoryBufferPrintf( MemoryBuffer *	mb,
20 				const char *		format,
21 				... )
22 				__attribute__ (( format ( printf, 2, 3 ) ));
23 #else
24 extern int utilMemoryBufferPrintf( MemoryBuffer *	mb,
25 				const char *		format,
26 				... );
27 #endif
28 
29 #   endif
30