mirror of https://github.com/mkerrisk/man-pages
ioctl_fslabel.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:
parent
0b1dc48225
commit
9c9e0561d0
|
@ -25,8 +25,8 @@
|
|||
ioctl_fslabel \- get or set a filesystem label
|
||||
.SH SYNOPSIS
|
||||
.nf
|
||||
.BR "#include <linux/fs.h>" " /* Definition of " *FSLABEL* " constants */"
|
||||
.B #include <sys/ioctl.h>
|
||||
.B #include <linux/fs.h>
|
||||
.PP
|
||||
.BI "int ioctl(int " fd ", FS_IOC_GETFSLABEL, char " label [FSLABEL_MAX]);
|
||||
.BI "int ioctl(int " fd ", FS_IOC_SETFSLABEL, char " label [FSLABEL_MAX]);
|
||||
|
|
Loading…
Reference in New Issue