Sziasztok!

On Tue, Jul 12, 2011 at 11:29:05PM +0200, Gabor HALASZ wrote:
> [...] ezert csinalni valamit illetlen dolgot a 21921-es
> processel, tudtommal ugyanis SIG0 nincs.

Ez egy elég régi trükk, hogy az adott PID létezik-e még (kill(2)):

"If  sig  is 0, then no signal is sent, but error checking is still per‐
 formed; this can be used to check for the existence of a process ID  or
 process group ID."

Üdv
Bozo
_________________________________________________
linux lista      -      [email protected]
http://mlf2.linux.rulez.org/mailman/listinfo/linux

válasz