From 53ea6db9fd25af7486b14cd2bf3b0ae1046e0e98 Mon Sep 17 00:00:00 2001 From: Jitka Obselkova Date: Sat, 14 Jun 2025 11:19:46 +0200 Subject: [PATCH] manual: Clarify renameat documentation Clarify the meaning of renameat arguments. Reviewed-by: Collin Funk --- manual/filesys.texi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/manual/filesys.texi b/manual/filesys.texi index f21f218042..e1c7be867e 100644 --- a/manual/filesys.texi +++ b/manual/filesys.texi @@ -1940,7 +1940,10 @@ 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}. If @var{oldname} or +@var{newname} is a relative path, it is interpreted relative to the +directory associated with @var{oldfiledes} or @var{newfiledes}, +respectively. Absolute paths are interpreted in the usual way. Compared to @code{rename}, some additional error conditions can occur. @xref{Descriptor-Relative Access}. -- 2.47.2