Lines Matching defs:tmpfile
106 char tmpfile[32];
299 (void) strlcpy(tmpfile, "/tmp/gensmg.XXXXXX",
300 sizeof (tmpfile));
302 if ((tmpfd = mkstemp(tmpfile)) == -1) {
304 "cannot create \"%s\""), tmpfile);
312 "cannot create \"%s\""), tmpfile);
317 (void) unlink(tmpfile);
326 (void) unlink(tmpfile);
343 (void) file_copy(tmpfile, newfile);
345 (void) unlink(tmpfile);