Lines Matching defs:template
848 extern char *mktemp PARAMS ((char *template));
849 extern int mkstemp PARAMS ((char *template));
852 open_tmpfile(char **name, const char *template)
859 # define TEMPLATE_LEN strlen (template)
864 strcpy (*name, template);
1467 char *template, *tmpdir;
1492 template = (char *) alloca (strlen (tmpdir)
1494 strcpy (template, tmpdir);
1497 if (strchr ("/\\", template[strlen (template) - 1]) == NULL)
1498 strcat (template, "/");
1501 if (template[strlen (template) - 1] != '/')
1502 strcat (template, "/");
1506 strcat (template, DEFAULT_TMPFILE);
1507 outfile = open_tmpfile (&stdin_nm, template);