wait() function survey

Damien Miller djm at mindrot.org
Sat Aug 26 09:20:56 EST 2000


On Fri, 25 Aug 2000, Ben Lindstrom wrote:

> 
> In serverloop.c we have two wait() lines.
> 
> POSIX defines wait() was "pid_t wait(int *status)".  However older BSD
> systems could have "int wait(union wait *statusp)" as it's defines.
> 
> I'm interested to see how many platforms OpenSSH is ported requires the
> latter define.
> 
> I know NeXT does.  

What is the definition of the union? Is it a fatal error or just a
warning if the (int*) version is used?

-d

-- 
| "Bombay is 250ms from New York in the new world order" - Alan Cox
| Damien Miller - http://www.mindrot.org/
| Email: djm at mindrot.org (home) -or- djm at ibs.com.au (work)








More information about the openssh-unix-dev mailing list