aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-08-08 05:45:32 +1000
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-08-08 05:54:16 +1000
commitab57579b8bd94033db7b31fed4f16200b2321a1a (patch)
tree47481cb3f18daf9e4c632b0b20097e2c07b045ce
parent95183c2e0aa60008b6d74a54579aa77a3927d42b (diff)
downloadman-pages-ab57579b8bd94033db7b31fed4f16200b2321a1a.tar.gz
ioctl_fat.2: f
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/ioctl_fat.24
1 files changed, 2 insertions, 2 deletions
diff --git a/man2/ioctl_fat.2 b/man2/ioctl_fat.2
index fad5e83486..65aa202423 100644
--- a/man2/ioctl_fat.2
+++ b/man2/ioctl_fat.2
@@ -179,7 +179,7 @@ To keep backward compatibility, a length of 0 for the short filename signals
that the end of the directory has been reached.
However, the preferred method for detecting the end of the directory
is to test the
-.BR ioctl ()
+.BR ioctl (2)
return value.
If no long filename exists, field
.I d_reclen
@@ -246,7 +246,7 @@ This API is Linux-specific.
.SH EXAMPLE
.SS Toggling the archive flag
The following program demonstrates the usage of
-.BR ioctl ()
+.BR ioctl (2)
to manipulate file attributes.
The program reads and displays the archive attribute of a file.
After inverting the value of the attribute,