From: Jitka Obselkova Date: Sat, 14 Jun 2025 09:19:46 +0000 (+0200) Subject: manual: Clarify renameat documentation X-Git-Tag: glibc-2.42~103 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abc2e954af77f8d10f4f54754520814590e79830;p=thirdparty%2Fglibc.git manual: Clarify renameat documentation Clarify the meaning of renameat arguments. Signed-off-by: Jitka Obselkova Reviewed-by: Collin Funk --- diff --git a/manual/filesys.texi b/manual/filesys.texi index f21f218042..46621e8a92 100644 --- a/manual/filesys.texi +++ b/manual/filesys.texi @@ -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}.