Lines Matching refs:tmpfname
9431 char *tmpfname;
9446 tmpfname = e_zalloc(E_EXIT, strlen(tmpdir) + strlen(suffix) + 1);
9448 (void) strcpy(tmpfname, tmpdir);
9449 (void) strcat(tmpfname, suffix);
9451 if ((tmpfd = mkstemp(tmpfname)) == -1) {
9455 if (unlink(tmpfname) == -1) {
9456 msg(EXTN, "cannot unlink tmpfile %s", tmpfname);
9460 msg(EXTN, "cannot fdopen tmpfile %s", tmpfname);
9468 msg(EXTN, "problem writing to tmpfile %s", tmpfname);
9514 msg(EXTN, "cannot fseek on tmpfile %s", tmpfname);
9518 free(tmpfname);