]> git.ipfire.org Git - thirdparty/util-linux.git/blame - misc-utils/exch.1.adoc
flock: initialize timevals [-Werror=maybe-uninitialized]
[thirdparty/util-linux.git] / misc-utils / exch.1.adoc
CommitLineData
cd094a05
MY
1//po4a: entry man manual
2= exch(1)
3:doctype: manpage
4:man manual: User Commands
5:man source: util-linux {release-version}
6:page-layout: base
7:command: exch
8
9== NAME
10
8380ce72 11exch - atomically exchanges paths between two files
cd094a05
MY
12
13== SYNOPSIS
14
15*exch* _oldpath_ _newpath_
16
17== DESCRIPTION
18
19*exch* atomically exchanges oldpath and newpath.
20*exch* is a simple command wrapping *RENAME_EXCHANGE* of *renameat2*
21system call.
22
23
24== OPTIONS
25
26include::man-common/help-version.adoc[]
27
28== EXIT STATUS
29
30*exch* has the following exit status values:
31
32*0*::
33success
34*1*::
35unspecified failure
36
37== AUTHORS
38
39mailto:yamato@redhat.com[Masatake YAMATO]
40
41== SEE ALSO
42
43*renameat2*(2)
44
45include::man-common/bugreports.adoc[]
46
47include::man-common/footer.adoc[]
48
49ifdef::translation[]
50include::man-common/translation.adoc[]
51endif::[]