Cliff Sarginson <[EMAIL PROTECTED]> wrote:
> On Fri, Oct 04, 2002 at 04:31:49PM +0200, Oliver Fromme wrote:
> > He was asking for C code. Well, in C, the easiest way
> > is probably to go through the procfs(5) filesystem to
> > find the PID and then use the kill(2) system call. This
> > isn
On Fri, Oct 04, 2002 at 04:31:49PM +0200, Oliver Fromme wrote:
> Mike Hogsett <[EMAIL PROTECTED]> wrote:
> >
> > > Can anyone tell me how i can kill an application
> > > process through a piece of C code?
> >
> > man killall
>
> He was asking for C code. Well, in C, the easiest way
> is p
Mike Hogsett <[EMAIL PROTECTED]> wrote:
>
> > Can anyone tell me how i can kill an application
> > process through a piece of C code?
>
> man killall
He was asking for C code. Well, in C, the easiest way
is probably to go through the procfs(5) filesystem to
find the PID and then use the k
man killall
> Can anyone tell me how i can kill an application
> process through a piece of C code?
>
> i have the realplayer application,which has to be
> closed manually with a mouse or using "ctrl-C" or
> using "kill pid".
> But how can i kill it through a piece of code?
> one way is to ex
If there is only 1 or you wanna kill whatever there is
killall realplay
On Tue, 1 Oct 2002, Vinod wrote:
> Can anyone tell me how i can kill an application
> process through a piece of C code?
>
> i have the realplayer application,which has to be
> closed manually with a mouse or using "ctrl-
Can anyone tell me how i can kill an application
process through a piece of C code?
i have the realplayer application,which has to be
closed manually with a mouse or using "ctrl-C" or
using "kill pid".
But how can i kill it through a piece of code?
one way is to execute "ps" and then grep 'realpl