[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: waitpid() unf fork
Marcus Lunzenauer schrieb:
> The value of pid can be one of:
>
> [...]
>
> 0 which means to wait for any child process whose
> process group ID is equal to that of the calling
> process.
Und noch einfacher waere:
-1 which means to wait for any child process; this is
the same behaviour which wait exhibits.
Elmar.
----------------------------------------------------------------------
Today is Prickle-Prickle, the 52nd day of The Aftermath in the YOLD 3168
----------------------------------------------------------------------
882-"Hey, I wanna lead the party!"
(From the Canonical List of Famous Last Words)
----------------------------------------------------------------------