home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / linux / 17475 < prev    next >
Encoding:
Internet Message Format  |  1992-11-21  |  1.3 KB

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