diff options
| -rw-r--r-- | man/man2/ioctl.2 | 4 | ||||
| -rw-r--r-- | man/man2/ioctl_ficlone.2 | 1 | ||||
| -rw-r--r-- | man/man2const/FICLONE.2const (renamed from man/man2/ioctl_ficlonerange.2) | 10 | ||||
| -rw-r--r-- | man/man2const/FICLONERANGE.2const | 1 |
4 files changed, 9 insertions, 7 deletions
diff --git a/man/man2/ioctl.2 b/man/man2/ioctl.2 index 6f7725904a..d73efaaa2d 100644 --- a/man/man2/ioctl.2 +++ b/man/man2/ioctl.2 @@ -216,8 +216,8 @@ for the various architectures. .BR fcntl (2), .BR ioctl_console (2), .BR ioctl_fat (2), -.BR ioctl_ficlone (2), -.BR ioctl_ficlonerange (2), +.BR FICLONE (2const), +.BR FICLONERANGE (2const), .BR ioctl_fideduperange (2), .BR ioctl_fslabel (2), .BR ioctl_getfsmap (2), diff --git a/man/man2/ioctl_ficlone.2 b/man/man2/ioctl_ficlone.2 deleted file mode 100644 index 19bb3482da..0000000000 --- a/man/man2/ioctl_ficlone.2 +++ /dev/null @@ -1 +0,0 @@ -.so man2/ioctl_ficlonerange.2 diff --git a/man/man2/ioctl_ficlonerange.2 b/man/man2const/FICLONE.2const index 63a430dd4f..c822ab74ed 100644 --- a/man/man2/ioctl_ficlonerange.2 +++ b/man/man2const/FICLONE.2const @@ -1,16 +1,18 @@ .\" Copyright (c) 2016, Oracle. All rights reserved. .\" .\" SPDX-License-Identifier: GPL-2.0-or-later -.TH ioctl_ficlonerange 2 (date) "Linux man-pages (unreleased)" +.TH FICLONE 2const (date) "Linux man-pages (unreleased)" .SH NAME -ioctl_ficlonerange, ioctl_ficlone \- +FICLONE, +FICLONERANGE +\- share some the data of one file with another file .SH LIBRARY Standard C library .RI ( libc ", " \-lc ) .SH SYNOPSIS .nf -.BR "#include <linux/fs.h>" " /* Definition of " FICLONE* " constants */" +.BR "#include <linux/fs.h>" " /* Definition of " FICLONE* " constants */" .B #include <sys/ioctl.h> .P .BI "int ioctl(int " dest_fd ", FICLONERANGE, struct file_clone_range *" arg ); @@ -120,7 +122,7 @@ They were previously known as and .BR BTRFS_IOC_CLONE_RANGE , and were private to Btrfs. -.SH NOTES +.SH CAVEATS Because a copy-on-write operation requires the allocation of new storage, the .BR fallocate (2) operation may unshare shared blocks to guarantee that subsequent writes will diff --git a/man/man2const/FICLONERANGE.2const b/man/man2const/FICLONERANGE.2const new file mode 100644 index 0000000000..1e1cbb2b62 --- /dev/null +++ b/man/man2const/FICLONERANGE.2const @@ -0,0 +1 @@ +.so man2/ioctl_ficlone.2 |
