Searched refs:tempName (Results 1 – 1 of 1) sorted by relevance
84 char tempName[4096]; in fileSetContents() local88 if (tempNameStr.size() >= sizeof tempName - 1) { in fileSetContents()92 strncpy(tempName, tempNameStr.c_str(), sizeof tempName); in fileSetContents()94 fd = mkstemp(tempName); in fileSetContents()120 if (rename(tempName, path.c_str()) != 0) { in fileSetContents()