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 'realplay' from it and get the pid and kill it.Isn't there any other way i can do this? isn't there something which kills from command name like 'kill realplay'? Thanks in advance, Vinod __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message