Home | History | Annotate | Download | only in libzfs

Lines Matching refs:tmpfile

151 	char tmpfile[PATH_MAX];
163 if (strlcpy(tmpfile, file, sizeof(tmpfile)) >= sizeof(tmpfile))
165 if (strlcat(tmpfile, ".XXXXXXXX", sizeof(tmpfile)) >= sizeof(tmpfile))
167 fd = mkstemp(tmpfile);
218 unlink(tmpfile);
220 if (rename(tmpfile, file) == -1) {
222 unlink(tmpfile);