Where is kill_proc_info defined?
what is header file for the kernel API function kill_proc开发者_JS百科_info(int sig, struct siginfo *info, pid_t pid)
You can probably found this in linux/signal.c
and include/linux/sched.h
Grep is your friend. Or use one of the cross-references like http://lxr.linux.no or http://www.cs.fsu.edu/~baker/devices/lxr/http/source/.
Ad edit (the original question did not say "API"):
Actually, that function is not an API. It's an implementation detail of signal.c
. It is not an API, because there is no EXPORT_SYMBOL
[_GPL
] declaration for it, so it's not callable from modular code.
[edit]
man
won't work - however, man kill_proc_info
into your favorite search engine will. note too that posting a page that doesn't render correctly in somebodies browser will also result in a downvote.
[/edit]
man
is your friend
[edit]
google is your friend (which is how I found the first answer - in the comments below) but we're not allowed to use that as an answer here. Better to have a repository of lazy people than to request they attempt to use the tools that they are given - IOW, better to give a man a fish than teach him how to fish
[/edit]
精彩评论