I need to make a \"function caller\" function: it receives a generic function pointer (void *) and a variable number of arguments as arguments and it\'s got to
The bad news is, this is not possible in C, even in unportable C. (GCC has extensions which sound like they do this job, but they do not work in the general case.) It is necessary to write assembly-language shims.
The good news is, other people have already written the shims for you: have a look at libffi. (Manual here. Do not use the "closure" API if you can possibly avoid it.)