I am novice in C. Can you tell me what does it mean?
void (*signal(int sig, void (*func)(int)))(int);
I ask about syntax, not about error handling. I understand all completely except last bracket (int).
void (*example(int sig, void (*func)(int)));
This is the level on which I understand. We make prototype for function which has two parameters(integer number, pointer to function with integer parameter and nothing return) and example return void.
Thank you.