开发者

Where is kill_proc_info defined?

开发者 https://www.devze.com 2023-02-24 05:57 出处:网络
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.hGrep is your

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]

0

精彩评论

暂无评论...
验证码 换一张
取 消