What is wait3()

Sean Eric Fagan sef at kithrup.COM
Mon Dec 31 05:27:12 AEST 1990


In article <144 at ahmcs.com> alan at mq.com (Alan Mintz) writes:
>What is wait3() and how does it differ from wait() ?
>Before you flame me, I have RTFM'd and text-searched the XENIX and ISC manuals
>to death without a hint. I can't seem to determine it's usage from the context
>it is used in in the program I am trying to port.

wait3() is a BSD-ism.  It differs from wait(S) in that it will return the
status of any stopped processes (job control stop, that is).  Note that
since xenix doesn't have job control, there is little to no need for it.

On the other hand, POSIX has a routine called 'waitpid,' which can be made
into a wait3() via a macro.  SCO UNIX supports it (because it has job
control).

-- 
Sean Eric Fagan  | "I made the universe, but please don't blame me for it;
sef at kithrup.COM  |  I had a bellyache at the time."
-----------------+           -- The Turtle (Stephen King, _It_)
Any opinions expressed are my own, and generally unpopular with others.



More information about the Comp.unix.xenix.sco mailing list