git: 3055c47f6024 - main - rename.2: Document AT_RENAME_EXCHANGE
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 11 Jul 2026 22:05:23 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=3055c47f6024b087a90021edb05992304a119827
commit 3055c47f6024b087a90021edb05992304a119827
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-06-19 08:40:25 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-07-11 22:04:43 +0000
rename.2: Document AT_RENAME_EXCHANGE
Reviewed by: mckusick
Discussed with: markj
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D57658
---
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