kill -0
Florian Lohoff
flo at rfc822.org
Thu Dec 4 14:11:17 CET 2003
On Thu, Dec 04, 2003 at 12:55:50PM +0100, Markus Wigge wrote:
> Tag,
>
> was ist 0 für ein Signal? Hab es in der man-page nicht gefunden?
> Ich vermute einfach mal es hat keine Funktion?
Das sendet kein wirkliches signal an den prozess sondern der kernel gibt
nur einen result code ob eine pid existiert oder nicht ...
sed:~# kill -0 1
sed:~# echo $?
0
sed:~# kill -0 4711
bash: kill: (4711) - No such process
sed:~# echo $?
1
Flo
--
Florian Lohoff flo at rfc822.org +49-171-2280134
Heisenberg may have been here.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20031204/1a2eb920/attachment.sig>
More information about the Linux
mailing list