home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / linux / 17460 < prev    next >
Encoding:
Text File  |  1992-11-21  |  1.0 KB  |  24 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!mojo.eng.umd.edu!news!djm
  3. From: djm@eng.umd.edu (David J. MacKenzie)
  4. Subject: Re: union wait
  5. Message-ID: <DJM.92Nov21130000@frob.eng.umd.edu>
  6. Date: Sat, 21 Nov 92 18:00:00 GMT
  7. Organization: Project GLUE, University of Maryland
  8. In-Reply-To: hlu@eecs.wsu.edu's message of Fri, 20 Nov 92 19:31:11 GMT
  9. References: <Mf35FIC00YUnR=rW82@andrew.cmu.edu> <1992Nov20.193111.995@serval.net.wsu.edu>
  10. Lines: 12
  11.  
  12.    |> What is the linux-ism for a "union wait"?  It would really be helpful
  13.    |> to know for porting some software.
  14.  
  15.    Include <sys/wait.h>, You are home free. If your software ueses "union wait"
  16.    directly, rather than wait macros, fix your software. That will make it
  17.    more portable.
  18.  
  19. I think what he was asking was *how* to "fix your software" -- what's
  20. the correspondence between the union wait elements and the POSIX wait
  21. macros.  Unfortunately I don't have time to produce an equivalence
  22. table right now -- maybe someone else does?
  23.  
  24.