How to pass ellipsis argument to makecontext, which also accepts ellipsis argument in C?
问题 I have a function that runs other functions, and these functions can have a variable number of arguments. The parameter of this function is then passed to makecontext , which attaches the function to a ucontext_t structure, but the problem is this function also takes variable number of arguments. So my question is, how do I pass ellipsis argument obtained from a function to makecontext given that I can't change makecontext ? void run_function(void (*func), int argc, ...) { va_list vl; va