Comment by sega_sai 19 hours ago rename() is certainly the easiest to use for any sort of file-system based synchronization. 1 comment sega_sai Reply compressedgas 6 hours ago As long as you don't run into or want freedom from possible path races, for that you need the missing: frenameat2(srcdirfd, srcfd, srcname, dstdirfd, dstfd, dstname)
compressedgas 6 hours ago As long as you don't run into or want freedom from possible path races, for that you need the missing: frenameat2(srcdirfd, srcfd, srcname, dstdirfd, dstfd, dstname)
As long as you don't run into or want freedom from possible path races, for that you need the missing: