How to start with my own formating function? I never wrote any with variable number of arguments. How to do it?
In my case declaration looks like that:
But what next, how to handle 1st 2nd or 5th argument??? I would be grateful for printf() function body also.Code:int dprintf(char *str, const char *format, ...)