Searched refs:tmp_fname (Results 1 – 5 of 5) sorted by relevance
80 unlink (result->tmp_fname); in prepare_binary_output()152 result->fname = stpcpy (mempcpy (result->tmp_fname, fname, fname_len), in asm_begin()157 result->fd = mkstemp (result->tmp_fname); in asm_begin()
54 (void) unlink (ctx->tmp_fname); in asm_abort()
187 char tmp_fname[flexarr_size]; member
522 if (rename (ctx->tmp_fname, ctx->fname) != 0) in asm_end()
412 char *tmp_fname; in hapd_wps_cred_cb() local486 tmp_fname = os_malloc(len); in hapd_wps_cred_cb()487 if (tmp_fname == NULL) in hapd_wps_cred_cb()489 os_snprintf(tmp_fname, len, "%s-new", hapd->iface->config_fname); in hapd_wps_cred_cb()495 os_free(tmp_fname); in hapd_wps_cred_cb()499 nconf = fopen(tmp_fname, "w"); in hapd_wps_cred_cb()503 os_free(tmp_fname); in hapd_wps_cred_cb()640 if (rename(tmp_fname, hapd->iface->config_fname) < 0) { in hapd_wps_cred_cb()643 os_free(tmp_fname); in hapd_wps_cred_cb()647 os_free(tmp_fname); in hapd_wps_cred_cb()