home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / os2 / programm / 4849 < prev    next >
Encoding:
Text File  |  1992-09-09  |  1.2 KB  |  31 lines

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