]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
manual: Clarify renameat documentation
authorJitka Obselkova <jobselko@redhat.com>
Sat, 14 Jun 2025 09:19:46 +0000 (11:19 +0200)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 18 Jun 2025 19:03:20 +0000 (16:03 -0300)
Clarify the meaning of renameat arguments.

Signed-off-by: Jitka Obselkova <jobselko@redhat.com>
Reviewed-by: Collin Funk <collin.funk1@gmail.com>
manual/filesys.texi

index f21f21804251e480abbc8b51a41459c22840ad98..46621e8a92362dc4682fff7c1d83b12b623843a6 100644 (file)
@@ -1940,7 +1940,9 @@ file systems.
 @comment Unaudited and therefore marked AC-Unsafe and AS-Unsafe by default
 @safety{@mtsafe{}@asunsafe{@asucorrupt{}}@acunsafe{@acucorrupt{}}}
 This function is a descriptor-relative version of the @code{rename}
-function above.  @xref{Descriptor-Relative Access}.
+function above.  @xref{Descriptor-Relative Access}.  The @var{oldname} is
+interpreted relative to @var{oldfiledes} and @var{newname} is interpreted
+relative to @var{newfiledes}.
 
 Compared to @code{rename}, some additional error conditions can occur.
 @xref{Descriptor-Relative Access}.