home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / question / 13750 < prev    next >
Encoding:
Text File  |  1992-11-21  |  895 b   |  26 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!usc!sdd.hp.com!spool.mu.edu!umn.edu!news.cs.indiana.edu!noose.ecn.purdue.edu!en.ecn.purdue.edu!davisonj
  3. From: davisonj@en.ecn.purdue.edu (John M Davison)
  4. Subject: Behavior of tmpfile() in Unix
  5. Message-ID: <1992Nov22.050820.26983@en.ecn.purdue.edu>
  6. Followup-To: poster
  7. Summary: how does it work with fork(), exec*(), and other weird things?
  8. Keywords: C fork exec process tmpfile Unix
  9. Organization: Purdue University Engineering Computer Network
  10. Date: Sun, 22 Nov 92 05:08:20 GMT
  11. Lines: 13
  12.  
  13.  
  14.         As defined in C, the tmpfile() function returns a (FILE *) back to the
  15. caller, pointing to a temporary file that is destroyed upon the termination of
  16. the program.  What happens to this temporary file when a fork() or exec*() is
  17. called?
  18.  
  19.         I'll post a summary if someone asks me to.
  20.  
  21.  
  22. -- 
  23. John Davison
  24. davisonj@ecn.purdue.edu
  25. Tsongas in '96
  26.