]>
Commit | Line | Data |
---|---|---|
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 | 11 | exch - 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* | |
21 | system call. | |
22 | ||
23 | ||
24 | == OPTIONS | |
25 | ||
26 | include::man-common/help-version.adoc[] | |
27 | ||
28 | == EXIT STATUS | |
29 | ||
30 | *exch* has the following exit status values: | |
31 | ||
32 | *0*:: | |
33 | success | |
34 | *1*:: | |
35 | unspecified failure | |
36 | ||
37 | == AUTHORS | |
38 | ||
39 | mailto:yamato@redhat.com[Masatake YAMATO] | |
40 | ||
41 | == SEE ALSO | |
42 | ||
43 | *renameat2*(2) | |
44 | ||
45 | include::man-common/bugreports.adoc[] | |
46 | ||
47 | include::man-common/footer.adoc[] | |
48 | ||
49 | ifdef::translation[] | |
50 | include::man-common/translation.adoc[] | |
51 | endif::[] |