On 7/12/2011 11:54 PM, BORBELY Zoltan wrote:
>       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."

Ah, ertem (bar az en man-ombol ez hianyzik, de a feature mukodik).

-- 
Gabor HALASZ <halas...@freemail.hu>
_________________________________________________
linux lista      -      linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux

válasz