renameat2
¶Documentation:
man renameat2
Gnulib module: —
Portability problems fixed by Gnulib:
Portability problems not fixed by Gnulib:
RENAME_NOREPLACE
flag is specified
and the source and destination are the same file, on some platforms:
Cygwin 3.4.6.
renameat2 (AT_FDCWD, "file", AT_FDCWD, "new/" ...)
succeeds
instead of failing and setting errno
to ENOTDIR
, on some
platforms:
GNU/Hurd.
The renameatu
module addresses some of these portability issues.