Lines Matching defs:tfile
1645 char tfile[PATH_MAX];
1714 snprintf(tfile, sizeof(tfile), "%s.XXXXXX", file);
1715 if ((fd = mkostemp(tfile, O_CLOEXEC)) == -1)
1718 tfile, strerror(errno)));
1755 "failed to write %s: %s", tfile,
1764 len = snprintf(&tmp, 1, fmt, dtp->dt_ld_path, file, tfile,
1769 (void) snprintf(cmd, len, fmt, dtp->dt_ld_path, file, tfile,
1826 if (rename(tfile, file) != 0) {
1828 "failed to rename %s to %s: %s", tfile, file,
1839 (void) unlink(tfile);