#define SEQAN_TEMP_FILENAME
Generates the name to a temporary file.

Defined in <seqan/basic.h>
Signature TCharType SEQAN_TEMP_FILENAME();

Return Values

TCharType char const *, string with the path to a temporary file.

Detailed Description

Remarks

The pointed to string is stored in a buffer and is overwritten by the next call to this macro. Copy it out if you need it.

Examples

const char *p = SEQAN_TEMP_FILENAME();
buffer char tempFilename[1000];
strcpy(tempFilename, p);
FILE *f = fopen(tempFilename, "w");
fprintf(f, "Test Data");
fclose(f);

Data Races

Thread safety unknown!

See Also