Talk:Rename (computing)
Latest comment: 11 years ago by Vadmium in topic Windows atomic rename
![]() | This article is rated Stub-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||
|
Windows atomic rename
editIt seems I reworded this bit during my merge; the original rename (C) page said “the underlying WIN32 call has (since Win2K) had an option to replicate the POSIX atomic behavior”. A quick web search, looking at bug reports in other software, MSDN comments, etc (not particularly reliable sources) point at these Windows APIs:
- MoveFileEx(), but some suggest this is only usually atomic, not guaranteed
- MoveFileTransacted()
- ReplaceFile(), although the list of documented errors and some sources raise doubts about it being atomic