[comp.unix.xenix.sco] What is wait3

alan@mq.com (Alan Mintz) (12/27/90)

This is a stupid question, but...

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.
-- 
< Alan H. Mintz             | Voice +1 714 980 1034 >
< Micro-Quick Systems, Inc. | FAX   +1 714 944 3995 >
< 10384 Hillside Road       | ...!uunet!ahmcs!alan  >
< Alta Loma, CA  91701 USA  | alan@mq.com           >

sef@kithrup.COM (Sean Eric Fagan) (12/31/90)

In article <144@ahmcs.com> alan@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@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.