On Thu, Jun 25, 1998 at 12:58:03PM -0700, Wilfredo Sanchez wrote:
> >I don't see "kill -0 $pid" as worse than "ps -p"... so I'm going to
> >change to that and see what breaks.
>
> What's this supposed to do?
>
> Not documented in FreeBSD's man page for kill.
>From the rhapsody kill(2) man page:
The kill() function sends the signal given by sig to pid, a process or a
group of processes. Sig may be one of the signals specified in sigacĀ
tion(2) or it may be 0, in which case error checking is performed but no
signal is actually sent. This can be used to check the validity of pid.
--
Jens-Uwe Mager
HELIOS Software GmbH
Steinriede 3
30827 Garbsen
Germany
Phone: +49 5131 709320
FAX: +49 5131 709325
Internet: jum@helios.de
|