Lines Matching defs:tmpfname
9424 char *tmpfname;
9439 tmpfname = e_zalloc(E_EXIT, strlen(tmpdir) + strlen(suffix) + 1);
9441 (void) strcpy(tmpfname, tmpdir);
9442 (void) strcat(tmpfname, suffix);
9444 if ((tmpfd = mkstemp(tmpfname)) == -1) {
9448 if (unlink(tmpfname) == -1) {
9449 msg(EXTN, "cannot unlink tmpfile %s", tmpfname);
9453 msg(EXTN, "cannot fdopen tmpfile %s", tmpfname);
9461 msg(EXTN, "problem writing to tmpfile %s", tmpfname);
9507 msg(EXTN, "cannot fseek on tmpfile %s", tmpfname);
9511 free(tmpfname);