Hacker News new | ask | show | jobs
by compressedgas 135 days 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)