Lines Matching refs:template
37 char *template = *toys.optargs;
39 if (!template) template = "tmp.XXXXXX";
44 template = strchr(template, '/') ? xstrdup(template)
45 : xmprintf("%s/%s", TT.tmpdir, template);
47 if (d_flag ? !mkdtemp(template) : mkstemp(template) == -1) {
50 d_flag ? "directory" : "file", TT.tmpdir, template);
52 if (toys.optflags & FLAG_u) unlink(template);
53 xputs(template);
56 if (CFG_TOYBOX_FREE) free(template);