ioctl_fideduperange.2: Make clear why exactly is each header needed

Only the include that provides the prototype doesn't need a comment.

Also sort the includes alphabetically.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Alejandro Colomar 2021-04-04 13:58:45 +02:00 committed by Michael Kerrisk
parent 40798f5b45
commit 0fdaa53806
1 changed files with 2 additions and 1 deletions

View File

@ -25,8 +25,9 @@
ioctl_fideduperange \- share some the data of one file with another file
.SH SYNOPSIS
.nf
.B #include <sys/ioctl.h>
.RB " /* Definition of " FIDEDUPERANGE " and " FILE_DEDUPE_* " constants */"
.B #include <linux/fs.h>
.B #include <sys/ioctl.h>
.PP
.BI "int ioctl(int " src_fd ", FIDEDUPERANGE, struct file_dedupe_range *" arg );
.fi