X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2FSDCCglobl.h;h=c9061a9c4f636e375f255bd6bd99296a0fff8d7c;hb=7131c95b14af27494c070111ef89a541889c3a79;hp=99076417680fa03b42a9ebee3e47ec0fa0d2b7c8;hpb=9b4669d9f07c2e7d49e266e15b0478d64445e337;p=fw%2Fsdcc diff --git a/src/SDCCglobl.h b/src/SDCCglobl.h index 99076417..c9061a9c 100644 --- a/src/SDCCglobl.h +++ b/src/SDCCglobl.h @@ -274,6 +274,13 @@ void parseWithComma (char **, char *); */ FILE *tempfile (void); +/** Creates a temporary file name a'la tmpnam which avoids the bugs + in cygwin wrt c:\tmp. + Scans, in order: TMP, TEMP, TMPDIR, else uses tmpfile(). +*/ +char * +tempfilename (void); + /** Creates a duplicate of the string 'sz' a'la strdup but using libgc. */