Bruno Haible <[EMAIL PROTECTED]> writes: > /* Create a temporary directory. > PREFIX is used as a prefix for the name of the temporary directory. It > should be short and still give an indication about the program. > Return a fresh 'struct temp_dir' on success. Upon error, an error message > is shown and NULL is returned. */ > extern struct temp_dir * create_temp_dir (const char *prefix);
I find the description just a little confusing: PREFIX is a prefix for the *base name* of the temporary directory. It actually goes in the middle of the directory name. I like the concept otherwise. I can probably drop some code from GNU PSPP if this is installed. (PSPP also uses temporary files for sorting.) -- "Implementation details are beyond the scope of the Java virtual machine specification. One should not assume that every virtual machine implementation contains a giant squid." --"Mr. Bunny's Big Cup o' Java"