home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!news.u.washington.edu!serval!hlu
- From: hlu@eecs.wsu.edu (H.J. Lu)
- Newsgroups: comp.os.linux
- Subject: Re: union wait
- Message-ID: <1992Nov21.190451.20204@serval.net.wsu.edu>
- Date: 21 Nov 92 19:04:51 GMT
- Article-I.D.: serval.1992Nov21.190451.20204
- References: <Mf35FIC00YUnR=rW82@andrew.cmu.edu> <1992Nov20.193111.995@serval.net.wsu.edu> <DJM.92Nov21130000@frob.eng.umd.edu>
- Sender: news@serval.net.wsu.edu (USENET News System)
- Organization: School of EECS, Washington State University
- Lines: 18
-
- In article <DJM.92Nov21130000@frob.eng.umd.edu>, djm@eng.umd.edu (David J. MacKenzie) writes:
- |>
- |> |> What is the linux-ism for a "union wait"? It would really be helpful
- |> |> to know for porting some software.
- |>
- |> Include <sys/wait.h>, You are home free. If your software ueses "union wait"
- |> directly, rather than wait macros, fix your software. That will make it
- |> more portable.
- |>
- |> I think what he was asking was *how* to "fix your software" -- what's
- |> the correspondence between the union wait elements and the POSIX wait
- |> macros. Unfortunately I don't have time to produce an equivalence
- |> table right now -- maybe someone else does?
-
- Grab GNU libc 1.05 and check wait stuff there. But I believe one or
- two macros are wrong. Check Linux <sys/wait.h> for them.
-
- H.J.
-