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()
185 char tmp_fname[flexarr_size]; member
521 if (rename (ctx->tmp_fname, ctx->fname) != 0) in asm_end()
406 char *tmp_fname; in hapd_wps_cred_cb() local479 tmp_fname = os_malloc(len); in hapd_wps_cred_cb()480 if (tmp_fname == NULL) in hapd_wps_cred_cb()482 os_snprintf(tmp_fname, len, "%s-new", hapd->iface->config_fname); in hapd_wps_cred_cb()488 os_free(tmp_fname); in hapd_wps_cred_cb()492 nconf = fopen(tmp_fname, "w"); in hapd_wps_cred_cb()496 os_free(tmp_fname); in hapd_wps_cred_cb()608 if (rename(tmp_fname, hapd->iface->config_fname) < 0) { in hapd_wps_cred_cb()611 os_free(tmp_fname); in hapd_wps_cred_cb()615 os_free(tmp_fname); in hapd_wps_cred_cb()