my_printf calling printf

B.M. Caspers I caspers at fwi.uva.nl
Tue Feb 26 21:16:26 AEST 1991


Does anyone know if there is a good way to call printf from a function 
prototypes:

int my_printf( char *fmt, ... );

I need to write a function that calls the win_printf of the DESQview API C
library, which in its turn (I think) calls printf. Since I don't want to do
any argument processing that printf should do, can I give the format string and the rest of the arguments unchanged to [win_]printf?

Thanks in advance.


John Caspers



More information about the Comp.lang.c mailing list