mirror of https://github.com/mkerrisk/man-pages
ioctl_getfsmap.2: Make clear why exactly is each header needed
<linux/fs.h> doesn't seem to be 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:
parent
9c9e0561d0
commit
2ef3cedaf4
|
@ -25,9 +25,10 @@
|
||||||
ioctl_getfsmap \- retrieve the physical layout of the filesystem
|
ioctl_getfsmap \- retrieve the physical layout of the filesystem
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #include <sys/ioctl.h>
|
.RB " /* Definition of " FS_IOC_GETFSMAP ", " FM?_OF_* ", and " *FMR_OWN_* \
|
||||||
.B #include <linux/fs.h>
|
" constants */"
|
||||||
.B #include <linux/fsmap.h>
|
.B #include <linux/fsmap.h>
|
||||||
|
.B #include <sys/ioctl.h>
|
||||||
.PP
|
.PP
|
||||||
.BI "int ioctl(int " fd ", FS_IOC_GETFSMAP, struct fsmap_head * " arg );
|
.BI "int ioctl(int " fd ", FS_IOC_GETFSMAP, struct fsmap_head * " arg );
|
||||||
.fi
|
.fi
|
||||||
|
|
Loading…
Reference in New Issue