KILL!
Federico Voges
ftc
Fri Feb 2 04:33:08 PST 2007
Matthew Carpenter wrote:
> Any C programmers out there have a good understanding of the ins and outs of
> GLIB's "kill" function?
>
> Specifically, it indicates that if the SIGNAL sent is 0, no signal is actually
> sent but error checking is processed. Quoted from the man page:
>
> int kill(pid_t pid, int sig);
> <snip>
> "If sig is 0, then no signal is sent, but error checking is still performed."
>
> What the freak does that mean!? Why would you call kill without actually
> wanting to send a signal!? Why did the chicken cross the road!? Was it just
> to see if he could! little prick. er... chick.
>
Basically, to test if the pid still exists ;)
More information about the Linux-users
mailing list