home *** CD-ROM | disk | FTP | other *** search
- 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
- From: rps32513@uxa.cso.uiuc.edu (Ronald P. Smith)
- Newsgroups: comp.sys.mac.programmer
- Subject: temporary files
- Message-ID: <C1F8rK.82o@news.cso.uiuc.edu>
- Date: 25 Jan 93 18:02:06 GMT
- Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
- Organization: University of Illinois at Urbana
- Lines: 16
-
- I'm just about finished with a program written in Think C which searches
- on indexed text. This program sometimes creates temporary files to
- buffer search results. Right now I just use an ansi function to create
- my temporary file but I'd like to change it so that it creates these
- files properly according to apple guidelines. I heard that temporary
- files are supposed to be created in a 'tmp' directory in the system
- folder much like the preferences folder. I'm using a very nice
- preferences class which handles all the dirty details of where to
- store and load from the preferences file. Is there any similar source
- available which handles temporary files for you? If not, could somone
- point me in the right direction as to what the proper way to create
- temporary files is?
-
- thanks,
-
- --RS
-