How to send a signal from inside the kernel?

Max Laier max at love2party.net
Thu Mar 17 16:16:28 PST 2005


On Thursday 17 March 2005 20:55, Aziz KEZZOU wrote:
> Here are the headers needed in case someone reads this thread:
>
> #include <unistd.h> /*needed only for NULL, can be removed*/
> #include <sys/types.h>
> #include <sys/param.h>

As a community service: Style(9) instructs to include either <sys/types.h> OR 
<sys/param.h> but not both.  The latter includes <sys/_null.h> which defines 
what you are already guessing.

> #include <sys/lock.h>
> #include <sys/mutex.h>
> #include <sys/proc.h>

-- 
/"\  Best regards,                      | mlaier at freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20050318/220f4197/attachment.bin


More information about the freebsd-hackers mailing list