[v4,29/35] ioctl_fat.2: Make clear why is each header exactly needed.

Message ID 20210403194026.102818-30-alx.manpages@gmail.com
State New
Headers show
Series
  • SYNOPSIS: Use syscall(SYS_...); and fix '#include's
Related show

Commit Message

Martin Sebor via Libc-alpha April 3, 2021, 7:40 p.m.
Only the one that provides the prototype doesn't need a comment.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>

---
 man2/ioctl_fat.2 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
2.31.0

Patch

diff --git a/man2/ioctl_fat.2 b/man2/ioctl_fat.2
index 30e410280..ea50bf319 100644
--- a/man2/ioctl_fat.2
+++ b/man2/ioctl_fat.2
@@ -26,7 +26,8 @@ 
 ioctl_fat \- manipulating the FAT filesystem
 .SH SYNOPSIS
 .nf
-.B #include <linux/msdos_fs.h>
+.BR "#include <linux/msdos_fs.h>" "   /* Definition of [" V ] FAT_*
+.RB    "                               * and " ATTR_* " constants */"
 .B #include <sys/ioctl.h>
 .PP
 .BI "int ioctl(int " fd ", FAT_IOCTL_GET_ATTRIBUTES, uint32_t *" attr );