Re: need help with sigaction and siginfo_t

2007-11-18 Thread Tijl Coosemans
On Saturday 17 November 2007 17:03:51 nikita kozlov wrote: > I'm a student and we are working on FreeBSD. > My problem is i don't understand how to use SA_SIGINFO and siginfo_t. > The following code caught my SIGUSR1 with a "kill -30 my_server_pid" > from my shell. > but siginfo_t is empty when i'm

Re: need help with sigaction and siginfo_t

2007-11-18 Thread Tijl Coosemans
On Sunday 18 November 2007 14:39:41 [EMAIL PROTECTED] wrote: > Tijl Coosemans <[EMAIL PROTECTED]> a écrit : >> On Saturday 17 November 2007 17:03:51 nikita kozlov wrote: >>> I'm a student and we are working on FreeBSD. >>> My problem is i don't understand how to use SA_SIGINFO and >>> siginfo_t. Th

need help with sigaction and siginfo_t

2007-11-17 Thread nikita kozlov
hello, I'm a student and we are working on FreeBSD. My problem is i don't understand how to use SA_SIGINFO and siginfo_t. The following code caught my SIGUSR1 with a "kill -30 my_server_pid" from my shell. but siginfo_t is empty when i'm debugging my program with gdb. my output is : > pid 0 and in