summaryrefslogtreecommitdiffstats
path: root/misc-utils/exch.1.adoc
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:33:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:33:32 +0000
commit8bb05ac73a5b448b339ce0bc8d396c82c459b47f (patch)
tree1fdda006866bca20d41cb206767ea5241e36852f /misc-utils/exch.1.adoc
parentAdding debian version 2.39.3-11. (diff)
downloadutil-linux-8bb05ac73a5b448b339ce0bc8d396c82c459b47f.tar.xz
util-linux-8bb05ac73a5b448b339ce0bc8d396c82c459b47f.zip
Merging upstream version 2.40.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'misc-utils/exch.1.adoc')
-rw-r--r--misc-utils/exch.1.adoc51
1 files changed, 51 insertions, 0 deletions
diff --git a/misc-utils/exch.1.adoc b/misc-utils/exch.1.adoc
new file mode 100644
index 0000000..b1c51d4
--- /dev/null
+++ b/misc-utils/exch.1.adoc
@@ -0,0 +1,51 @@
+//po4a: entry man manual
+= exch(1)
+:doctype: manpage
+:man manual: User Commands
+:man source: util-linux {release-version}
+:page-layout: base
+:command: exch
+
+== NAME
+
+exch - atomically exchanges paths between two files
+
+== SYNOPSIS
+
+*exch* _oldpath_ _newpath_
+
+== DESCRIPTION
+
+*exch* atomically exchanges oldpath and newpath.
+*exch* is a simple command wrapping *RENAME_EXCHANGE* of *renameat2*
+system call.
+
+
+== OPTIONS
+
+include::man-common/help-version.adoc[]
+
+== EXIT STATUS
+
+*exch* has the following exit status values:
+
+*0*::
+success
+*1*::
+unspecified failure
+
+== AUTHORS
+
+mailto:yamato@redhat.com[Masatake YAMATO]
+
+== SEE ALSO
+
+*renameat2*(2)
+
+include::man-common/bugreports.adoc[]
+
+include::man-common/footer.adoc[]
+
+ifdef::translation[]
+include::man-common/translation.adoc[]
+endif::[]