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 kill(2) system call. This isn't portable, though, but I don't think that there is a portable way to do it. Regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "All that we see or seem is just a dream within a dream" (E. A. Poe) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message