|
From: Hans-Bernhard B. <br...@ph...> - 2003-11-25 15:30:54
|
On Tue, 25 Nov 2003, Petr Mikulik wrote: > > > Man page of tmpnam() and of tempnam() says: > > > Never use this function. Use mkstemp(3) instead. > > > > > > Is there any safe and portable way to create a file in a temporary > > > directory, like /tmp or C:\TMP? > > > > <stdio.h>: FILE *tmpfile(void) > > Unfortunately this does not provide name of the file which I could use in > plot 'tmp_file1' > save set 'tmp_file2' Hmm... looks like the right answer would be "don't do that, then", in this case. I.e. we may have to find a way to generate that test page without writing any files. E.g. set up gnuplot a function per palette channel that the core can plot, instead of storing its values to a file. -- Hans-Bernhard Broeker (br...@ph...) Even if all the snow were burnt, ashes would remain. |