wait() function survey

Ben Lindstrom mouring at pconline.com
Sat Aug 26 00:49:59 EST 2000


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.  

Part two of the survey have to be how would be the best way to "detect"
the older BSD define and account for it (since I know I hate to be
throwing #ifdef all over the place)

Thanks.

Ben Lindstrom






More information about the openssh-unix-dev mailing list