Lines Matching defs:tmp_file_name
264 char *tmp_file_name, buf[MAX_INDEX_LEN];
296 tmp_file_name = malloc(tlen);
297 if (tmp_file_name == NULL) {
301 (void) snprintf(tmp_file_name, tlen, "%s%s", zonecfg_root,
304 tmp_file_desc = mkstemp(tmp_file_name);
306 (void) unlink(tmp_file_name);
307 free(tmp_file_name);
460 if (rename(tmp_file_name, path) == -1) {
464 free(tmp_file_name);
474 (void) unlink(tmp_file_name);
475 free(tmp_file_name);