🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #925

mktemp() and emx/gcc

#925
From: Joseph B Huber
Date: Wed, 09 Sep 1992 19:37
17 lines
970 bytes
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>. 

tmpnam() seems to work, but I was just curious about mktemp.

Thanks.




-- 
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.193715.23896@news.iastate.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!news.uiowa.edu!hobbes.physics.uiowa.edu!news.iastate.edu!jbhuber

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!news.uiowa.edu!hobbes.physics.uiowa.edu!news.iastate.edu!jbhuber
From: jbhuber@iastate.edu (Joseph B Huber)
Subject: mktemp() and emx/gcc
Message-ID: <1992Sep9.193715.23896@news.iastate.edu>
Sender: news@news.iastate.edu (USENET News System)
Organization: Iowa State University, Ames, IA
Date: Wed, 9 Sep 1992 19:37:15 GMT
Lines: 17