How do you get the filename of a tempfile to use in Linux?
Asked 2008-08-27T07:05:07.060
11
Let's say I'm creating a program in C that needs to use a tempfile. Creating an ad hoc tempfile in /tmp is probably not a good idea. Is there a function or OS call to supply me with a tempfile name so that I can begin to write and read from it?