I am trying to pass a function pointer as part of a number of arguments under va_arg. I tried using a void *
wildcard, before typecasting it later, but that gives an error.
fn_ptr = va_arg(*app, (void*));
How does one pass a function pointer, as an argument to another function using va_args
?