Lines Matching refs:tfile
1717 char tfile[PATH_MAX];
1786 snprintf(tfile, sizeof(tfile), "%s.XXXXXX", file);
1787 if ((fd = mkostemp(tfile, O_CLOEXEC)) == -1)
1790 tfile, strerror(errno)));
1827 "failed to write %s: %s", tfile,
1836 len = snprintf(&tmp, 1, fmt, dtp->dt_ld_path, file, tfile,
1841 (void) snprintf(cmd, len, fmt, dtp->dt_ld_path, file, tfile,
1898 if (rename(tfile, file) != 0) {
1900 "failed to rename %s to %s: %s", tfile, file,
1911 (void) unlink(tfile);