wait3() in Posix jc? (was: POSIX and ISC 2.2.x)

Heiko Blume src at scuzzy.in-berlin.de
Wed May 1 04:35:04 AEST 1991


alex at am.sublink.org (Alex Martelli) writes:

>[I'm answering to a practical advice post on how to change BSD job
>control to Posix job control, e.g. in bash...]:

> I think the only tidbit I'm missing is, what do I do in lieu
>of a wait3()?  Thanks to everybody for any answer!

yip, change wait3(&status,(WNOHANG|WUNTRACED), (int *)0)
                                               /* ^ no rusage info avail */
to
waitpid(-1,&status,(WNOHANG|WUNTRACED)).
-- 
   Heiko Blume <-+-> src at scuzzy.in-berlin.de <-+-> (+49 30) 691 88 93 [voice!]
                  public UNIX source archive [HST V.42bis]:
        scuzzy Any ACU,f 38400 6919520 gin:--gin: nuucp sword: nuucp
                     uucp scuzzy!/src/README /your/home



More information about the Comp.unix.programmer mailing list