Hi all,
Have a lil problem here,
I have a function prototype that looks a little like this
log(char *app, char *msg, char *user, int flag)
I was then told to include var args for msg, so that people can log data with the olde %d, %s etc.
Now id i use var args, how do i ensure that the last 2 variables get passed?
I cannot change the ordering as a lot of programs depend on it
Advise,
Arun



LinkBack URL
About LinkBacks


