Searched refs:tmp_fname (Results 1 – 5 of 5) sorted by relevance
78 unlink (result->tmp_fname); in prepare_binary_output()149 result->fname = stpcpy (mempcpy (result->tmp_fname, fname, fname_len), in asm_begin()154 result->fd = mkstemp (result->tmp_fname); in asm_begin()
53 (void) unlink (ctx->tmp_fname); in asm_abort()
188 char tmp_fname[flexarr_size]; member
523 if (rename (ctx->tmp_fname, ctx->fname) != 0) in asm_end()
460 char *tmp_fname; in hapd_wps_cred_cb() local534 tmp_fname = os_malloc(len); in hapd_wps_cred_cb()535 if (tmp_fname == NULL) in hapd_wps_cred_cb()537 os_snprintf(tmp_fname, len, "%s-new", hapd->iface->config_fname); in hapd_wps_cred_cb()543 os_free(tmp_fname); in hapd_wps_cred_cb()547 nconf = fopen(tmp_fname, "w"); in hapd_wps_cred_cb()551 os_free(tmp_fname); in hapd_wps_cred_cb()694 if (rename(tmp_fname, hapd->iface->config_fname) < 0) { in hapd_wps_cred_cb()697 os_free(tmp_fname); in hapd_wps_cred_cb()701 os_free(tmp_fname); in hapd_wps_cred_cb()