git: 090fff7c6e88 - stable/15 - rename.2: Document AT_RENAME_EXCHANGE
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 18 Jul 2026 00:28:11 UTC
The branch stable/15 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=090fff7c6e883c076df77f04771592ebaf415a33
commit 090fff7c6e883c076df77f04771592ebaf415a33
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-06-19 08:40:25 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-07-18 00:27:24 +0000
rename.2: Document AT_RENAME_EXCHANGE
(cherry picked from commit 3055c47f6024b087a90021edb05992304a119827)
---
lib/libsys/rename.2 | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/lib/libsys/rename.2 b/lib/libsys/rename.2
index dbad50edb9a9..2a4729dfc8d0 100644
--- a/lib/libsys/rename.2
+++ b/lib/libsys/rename.2
@@ -143,6 +143,12 @@ and
.Fa to
exists, the request fails with the error
.Er EEXIST .
+.It Dv AT_RENAME_EXCHANGE
+Atomically exchange the files pointed to by the
+.Fa from
+and
+.Fa to
+names.
.El
.Sh RETURN VALUES
.Rv -std rename