3 ms·
Actually it's fairly common when making changes within a file, especially a text file, to read from one file, write the changed data stream to a new file, then
by cestith 10y ago
Actually it's fairly common when making changes within a file, especially a text file, to read from one file, write the changed data stream to a new file, then do an atomic rename of the target file to the name of the source file.