home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.programmer
- Path: sparky!uunet!spool.mu.edu!uwm.edu!zaphod.mps.ohio-state.edu!hobbes.physics.uiowa.edu!news.iastate.edu!jbhuber
- From: jbhuber@iastate.edu (Joseph B Huber)
- Subject: Re: mktemp() and emx/gcc
- Message-ID: <1992Sep9.235110.6405@news.iastate.edu>
- Sender: news@news.iastate.edu (USENET News System)
- Organization: Iowa State University, Ames, IA
- References: <1992Sep9.193715.23896@news.iastate.edu>
- Date: Wed, 9 Sep 1992 23:51:10 GMT
- Lines: 19
-
- In article <1992Sep9.193715.23896@news.iastate.edu> jbhuber@iastate.edu
- (Joseph B Huber) writes:
-
- >Has anyone gotten mktemp() to work under emx/gcc? When I try to use it,
- >mktemp returns NULL and does not modify the 'XXXXXX' portion of the filename
- >template. This occurs with programs I have written as well as previously
- >written code. I have included <io.h>.
-
- Solved. I was using a file template that had an extension. mktemp doesn't like
- file templates that have extensions. This slipped by me as well as the
- original programmer.
-
-
-
- --
- Joe Huber
- (jbhuber@iastate.edu) | Capt. James T. Kirk on the 2nd law of thermo:
- Dept. of Mech. Egr. | "It's not a hundred percent efficient,
- Iowa State University | but nothing ever is."
-