Article View: comp.os.os2.programmer
Article #931Re: mktemp() and emx/gcc
From: Joseph B Huber
Date: Wed, 09 Sep 1992 23:51
Date: Wed, 09 Sep 1992 23:51
19 lines
1263 bytes
1263 bytes
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."
Technical Details
Message-ID:
<1992Sep9.235110.6405@news.iastate.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!uwm.edu!zaphod.mps.ohio-state.edu!hobbes.physics.uiowa.edu!news.iastate.edu!jbhuberReferences:
<1992Sep9.193715.23896@news.iastate.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer Path: arc1-ca.pugleaf.net!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