[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
send_sig_info() -- struct siginfo??
Hey guys,
I'm still trying to figure out how to send a signal to
a process.
send_sig_info(int, struct siginfo *, struct
task_struct*) is used.
1. the INT is the PID of the target process
2. I can find the task_struct* by using the function
find_task_by_Pid()
But, what is siginfo? I looked at the structure, but
I still couldn't make sense of it. If I know the PID
of the target process, how can I fill in the siginfo
structure in order to send a signal out?
ANy help would be greatly appreciated!!
THanks,
Sam
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.kernelnewbies.org/