B
Ben
The signal() is the one in signal.h (csignal), in my class I defined a
SIGALRM handler and then in my constructor I wrote signal(SIGALRM,
myHandler), but the compiler gave me the error:
error: argument of type 'void (myClass:(int)' does not match 'void
(*)(int)'
Where have I done wrong?
SIGALRM handler and then in my constructor I wrote signal(SIGALRM,
myHandler), but the compiler gave me the error:
error: argument of type 'void (myClass:(int)' does not match 'void
(*)(int)'
Where have I done wrong?