summaryrefslogtreecommitdiffstats
path: root/upstream/debian-unstable/man2/ioctl_ficlonerange.2
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:51:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:51:52 +0000
commit4ad94864781f48b1a4b77f9cfb934622bf756ba1 (patch)
tree3900955c1886e6d2570fea7125ee1f01bafe876d /upstream/debian-unstable/man2/ioctl_ficlonerange.2
parentAdding upstream version 4.22.0. (diff)
downloadmanpages-l10n-4ad94864781f48b1a4b77f9cfb934622bf756ba1.tar.xz
manpages-l10n-4ad94864781f48b1a4b77f9cfb934622bf756ba1.zip
Adding upstream version 4.23.0.upstream/4.23.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'upstream/debian-unstable/man2/ioctl_ficlonerange.2')
-rw-r--r--upstream/debian-unstable/man2/ioctl_ficlonerange.214
1 files changed, 7 insertions, 7 deletions
diff --git a/upstream/debian-unstable/man2/ioctl_ficlonerange.2 b/upstream/debian-unstable/man2/ioctl_ficlonerange.2
index 68cfc67a..073f265f 100644
--- a/upstream/debian-unstable/man2/ioctl_ficlonerange.2
+++ b/upstream/debian-unstable/man2/ioctl_ficlonerange.2
@@ -1,7 +1,7 @@
.\" Copyright (c) 2016, Oracle. All rights reserved.
.\"
.\" SPDX-License-Identifier: GPL-2.0-or-later
-.TH ioctl_ficlonerange 2 2023-03-30 "Linux man-pages 6.05.01"
+.TH ioctl_ficlonerange 2 2024-05-02 "Linux man-pages 6.8"
.SH NAME
ioctl_ficlonerange, ioctl_ficlone \-
share some the data of one file with another file
@@ -12,7 +12,7 @@ Standard C library
.nf
.BR "#include <linux/fs.h>" " /* Definition of " FICLONE* " constants */"
.B #include <sys/ioctl.h>
-.PP
+.P
.BI "int ioctl(int " dest_fd ", FICLONERANGE, struct file_clone_range *" arg );
.BI "int ioctl(int " dest_fd ", FICLONE, int " src_fd );
.fi
@@ -31,7 +31,7 @@ If a file write should occur to a shared region,
the filesystem must ensure that the changes remain private to the file being
written.
This behavior is commonly referred to as "copy on write".
-.PP
+.P
This ioctl reflinks up to
.I src_length
bytes from file descriptor
@@ -48,7 +48,7 @@ If
is zero, the ioctl reflinks to the end of the source file.
This information is conveyed in a structure of
the following form:
-.PP
+.P
.in +4n
.EX
struct file_clone_range {
@@ -59,10 +59,10 @@ struct file_clone_range {
};
.EE
.in
-.PP
+.P
Clones are atomic with regards to concurrent writes, so no locks need to be
taken to obtain a consistent cloned copy.
-.PP
+.P
The
.B FICLONE
ioctl clones entire files.
@@ -114,7 +114,7 @@ are not on the same mounted filesystem.
Linux.
.SH HISTORY
Linux 4.5.
-.PP
+.P
They were previously known as
.B BTRFS_IOC_CLONE
and