I need use in signal handler function some data structure, but I dont know
I have something like this:
act.sa_flags |= SA_SIGINFO;
in my Signal() implementation ; it gives me that signal handler function
have 2 new parameters
First is siginfo_t structure pointer but i dont know what type is secound ?
void sig_chld(int sig, struct siginfo_t *x, ???)
Next problem is how to copy or point data structure , which i want to give
my signal handler function,
a dont know how the siginfo_t structure looks like?
Resoult should be like that:
void sig_chld(int ...