--- In Jim Jackson <> wrote:
>
>
>
>
> On Wed, 16 Apr 2008, jo_xavier18 wrote:
>
> > I'm trying to use function kill() in my module, but it does no exist.
> > I 'd included signal.h, but the function kill() no exists in signal.h.
>
> You misunderstand what signal.h is. It is C source and contains
functions
> prototypes and any type definitions, and preprocessor defines needed.
>
> The function kill certainly does exist and is in the basic C library.
But the OP is writing a kernel module, and no library functions are
available kernel space.
I think you want to include <linux/sched.h> in your module, then use
kill_pid() or kill_pid_info_as_uid(). (That's on 2.6 ... 2.4 should
be similar).
This really isn't TS board specific; you will probably get better help
on a general linux list like kernel-newbies.
Regards, ........ Charlie
>
> > My kernel version is 2.4.26-ts11 and my board is ts7400.
>
> Perhaps you could indicate why you "think" it doesn't exist.
>
> Jim
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|