home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / programm / 22136 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  1.2 KB

  1. Path: sparky!uunet!olivea!charnel!rat!usc!howland.reston.ans.net!zaphod.mps.ohio-state.edu!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uxa.cso.uiuc.edu!rps32513
  2. From: rps32513@uxa.cso.uiuc.edu (Ronald P. Smith)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: temporary files
  5. Message-ID: <C1F8rK.82o@news.cso.uiuc.edu>
  6. Date: 25 Jan 93 18:02:06 GMT
  7. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  8. Organization: University of Illinois at Urbana
  9. Lines: 16
  10.  
  11. I'm just about finished with a program written in Think C which searches
  12. on indexed text.  This program sometimes creates temporary files to
  13. buffer search results.  Right now I just use an ansi function to create
  14. my temporary file but I'd like to change it so that it creates these
  15. files properly according to apple guidelines.  I heard that temporary
  16. files are supposed to be created in a 'tmp' directory in the system
  17. folder much like the preferences folder.  I'm using a very nice
  18. preferences class which handles all the dirty details of where to
  19. store and load from the preferences file.  Is there any similar source
  20. available which handles temporary files for you?  If not, could somone
  21. point me in the right direction as to what the proper way to create
  22. temporary files is?
  23.  
  24. thanks,
  25.  
  26. --RS
  27.