Xref: utzoo comp.unix.sysv386:7577 comp.unix.programmer:1704 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!math.fu-berlin.de!tmpmbx!scuzzy!src From: src@scuzzy.in-berlin.de (Heiko Blume) Newsgroups: comp.unix.sysv386,comp.unix.programmer Subject: Re: wait3() in Posix jc? (was: POSIX and ISC 2.2.x) Message-ID: <1991Apr30.183504.14076@scuzzy.in-berlin.de> Date: 30 Apr 91 18:35:04 GMT References: <1991Apr14.193335.26288@ddsw1.MCS.COM> <1991Apr16.235122.26807@scuzzy.in-berlin.de> <1991Apr19.215401.1501@am.sublink.org> <199 Organization: Contributed Software Lines: 17 alex@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@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