home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- 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
- From: davisonj@en.ecn.purdue.edu (John M Davison)
- Subject: Behavior of tmpfile() in Unix
- Message-ID: <1992Nov22.050820.26983@en.ecn.purdue.edu>
- Followup-To: poster
- Summary: how does it work with fork(), exec*(), and other weird things?
- Keywords: C fork exec process tmpfile Unix
- Organization: Purdue University Engineering Computer Network
- Date: Sun, 22 Nov 92 05:08:20 GMT
- Lines: 13
-
-
- As defined in C, the tmpfile() function returns a (FILE *) back to the
- caller, pointing to a temporary file that is destroyed upon the termination of
- the program. What happens to this temporary file when a fork() or exec*() is
- called?
-
- I'll post a summary if someone asks me to.
-
-
- --
- John Davison
- davisonj@ecn.purdue.edu
- Tsongas in '96
-