Some people need to change their datapath, and some beginners do quite often. Others use relative datapaths, with the binary in the current directory. Adding ".rsf@" extensions to the randomly-generated binary file names (such as sfcp2IEUFwgu) would make them easily findable using disk search tools.
Anonymous
Done: http://rsf.svn.sourceforge.net/viewvc/rsf/trunk/api/c/file.c?r1=6775&r2=7072
Does not work - see "man mkstemp".
In stdlib.h there is a mkstemps ( notice the s at the end) that allows this. The mkstemps() function acts the same as mkstemp(), except it permits a suffix to exist in the template. The template should be of the form /tmp/tmpXXXXXXsuffix. The mkstemps() function is told the length of the suffix string. So a separate work copy of the string may be needed for this purpose. I may try to fix this when I catch some time...
mkstemps is appropriate but not standard and might be missing on some platforms, needs testing