Searched refs:newname (Results 1 – 1 of 1) sorted by relevance
/hal_espressif-3.6.0/tools/kconfig/ |
D | confdata.c | 738 char dirname[PATH_MAX+1], tmpname[PATH_MAX+1], newname[PATH_MAX+1]; in conf_write() local 763 sprintf(newname, "%s%s", dirname, basename); in conf_write() 766 sprintf(tmpname, "%s.tmpconfig.%d", newname, (int)getpid()); in conf_write() 770 out = fopen(newname, "w"); in conf_write() 819 rename(newname, dirname); in conf_write() 820 if (rename(tmpname, newname)) in conf_write() 824 conf_message(_("configuration written to %s"), newname); in conf_write()
|