Hello,
I am rather puzzled by the following (from Chapter 7 of Stroustrup):
What bothers me is the parameter list in the third line. If SIG_TYP is a pointer to a function that takes an int as its argument, why is the parameter list needed and what is signal actually being declared as?Code:typdef void (*SIG_TYP)(int); typdef void (*SIG_ARG_TYP)(int); SIG_TYP signal(int, SIG_ARG_TYP);
Any help would be most appreciated.