Understanding typedefs for function pointers in C
Consider the signal() function from the C standard: extern void (*signal(int, void(*)(int)))(int); Perfectly obscurely obvious – it’s a function that takes two arguments, an integer and a pointer to a function that takes an integer as an argument and returns nothing, and it (signal()) returns a pointer to a function that takes an integer as … Read more