Kill -0
finalcog.com
finalcog.com
Empiric lore is ultimately detrimental to genuine understanding.
'A value of 0, however, will cause error checking to be performed (with no signal being sent). This can be used to check the validity of pid.'
On Mac OS X, the actual kernel implementation is: if (uap->signum) psignal(p, uap->signum);
So if signum == 0, no signal is sent, but this occurs after the destination (and permissions) are checked for validity.