C
CBFalconer
Walter said:POSIX 1003.1-1990, section 3.2.1.2
The wait() function shall suspend execution of the calling process
until status information for one of its terminated child processes
is available, or until a signal whose action is either to
execute a signal-catching function or to terminate the process
is delivered. If status information is available prior to the call
to wait(), return shall be immediate.
As I said, it was not a guess.
That quote, while probably accurate, cannot be verified here
inasmuch as it does not appear in the C standard. It, and your
earlier reply, are all off-topic in c.l.c. The point is that the
experts are not here, they are there. You should not encourage
off-topic questions nor answer them here. Protesting does not
change the fact.