Hey guys,
I'm in the process of experimenting few things in the signal handler. But whatever reason i'm not able to find the struct sigaction. Please see the following code snippet
But compiler complains on about not able reference the struct sigaction. But i thought it was defined in <signal.h>. But...Code:#include <signal.h> struct sigaction sig; sig.sa_handler = my_handler;
Any ideas? Is it defined anywhere else, which i'm not including.Code:sign.c: In function āmainā: sign.c:16: error: storage size of āsaā isnāt known
ssharish