On 2002-01-01 19:59 +0000, John Rochester <[EMAIL PROTECTED]> wrote: > Stefan Esser wrote: > > >Instead of the for loop, I'd rather have: > > > > while(waitpid(pid, NULL, WNOHANG) == EINTR) > > > This should be > > while (waitpid(pid, NULL, WNOHANG) < 0 && errno == EINTR)
Yes, obviously ... ;-) STefan To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message