Hello,
1.
The prototype of function signal in signal.h:
void (*signal(int sig, void (*func)(int)))( int);
is some complex to me. Would you please explain it to me in detail with
the C language syntax itself. Thank you!
2.
And I saw another function prototype:
void interrupt ( *oldhandler)();
-Is it legal?
-If it's a right prototype, what does identifier "interrupt" mean? Will
it be a type qualifier.
---
Thanks
lovecreatesbeau ty
1.
The prototype of function signal in signal.h:
void (*signal(int sig, void (*func)(int)))( int);
is some complex to me. Would you please explain it to me in detail with
the C language syntax itself. Thank you!
2.
And I saw another function prototype:
void interrupt ( *oldhandler)();
-Is it legal?
-If it's a right prototype, what does identifier "interrupt" mean? Will
it be a type qualifier.
---
Thanks
lovecreatesbeau ty
Comment