Xref: utzoo comp.unix.programmer:1925 comp.unix.questions:31730 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!think.com!mintaka!ai-lab!life.ai.mit.edu!mycroft From: mycroft@kropotki.gnu.ai.mit.edu (Charles Hannum) Newsgroups: comp.unix.programmer,comp.unix.questions Subject: Re: Global symbolic process names, anyone? Message-ID: Date: 28 May 91 03:22:20 GMT References: Sender: news@ai.mit.edu Distribution: comp Organization: /home/fsf/mycroft/.organization Lines: 13 In-reply-to: dag@kvatro.no's message of 24 May 91 16:46:48 GMT In article dag@kvatro.no (Dag H. Wanvik) writes: a) Is it possible to make any file temporary when creating it? (or by setting a mode bit (undocumented?!). (I need to fully control the file name, which is not possible using tmpfile and friends...) One idea is to have a creattmp() or some such function which simply calls creat() and sticks the file in a list of temporary files. You could then define an atexit() function to do the cleanup. (I'm not quite prepared to include code right now.) Hmmm. Perhaps the addition of an O_TMP mode in the GNU library would be prudent? B-)