diff options
Diffstat (limited to 'man2/ioctl_fat.2')
-rw-r--r-- | man2/ioctl_fat.2 | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/man2/ioctl_fat.2 b/man2/ioctl_fat.2 index 294acc6ff..d01942218 100644 --- a/man2/ioctl_fat.2 +++ b/man2/ioctl_fat.2 @@ -23,7 +23,7 @@ Standard C library .fi .SH DESCRIPTION The -.BR ioctl (2) +.MR ioctl 2 system call can be used to read and write metadata of FAT filesystems that are not accessible using other system calls. .SS Reading and setting file attributes @@ -37,7 +37,7 @@ The .I fd argument contains a file descriptor for a file or directory. It is sufficient to create the file descriptor by calling -.BR open (2) +.MR open 2 with the .B O_RDONLY flag. @@ -82,7 +82,7 @@ The argument can be a file descriptor for any file or directory of the filesystem. It is sufficient to create the file descriptor by calling -.BR open (2) +.MR open 2 with the .B O_RDONLY flag. @@ -114,13 +114,13 @@ The .I fd argument must be a file descriptor for a directory. It is sufficient to create the file descriptor by calling -.BR open (2) +.MR open 2 with the .B O_RDONLY flag. The file descriptor can be used only once to iterate over the directory entries by calling -.BR ioctl (2) +.MR ioctl 2 repeatedly. .P The @@ -163,7 +163,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 (2) +.MR ioctl 2 return value. If no long filename exists, field .I d_reclen @@ -207,7 +207,7 @@ The file descriptor does not refer to an object in a FAT filesystem. .P For further error values, see -.BR ioctl (2). +.MR ioctl 2 . .SH STANDARDS Linux. .SH HISTORY @@ -229,7 +229,7 @@ Linux 3.11. .SH EXAMPLES .SS Toggling the archive flag The following program demonstrates the usage of -.BR ioctl (2) +.MR ioctl 2 to manipulate file attributes. The program reads and displays the archive attribute of a file. After inverting the value of the attribute, @@ -333,7 +333,7 @@ main(int argc, char *argv[]) .\" SRC END .SS Reading the volume ID The following program demonstrates the use of -.BR ioctl (2) +.MR ioctl 2 to display the volume ID of a FAT filesystem. .P The following output was recorded when applying the program for @@ -398,7 +398,7 @@ main(int argc, char *argv[]) .\" SRC END .SS Listing a directory The following program demonstrates the use of -.BR ioctl (2) +.MR ioctl 2 to list a directory. .P The following was recorded when applying the program to the directory @@ -486,4 +486,4 @@ main(int argc, char *argv[]) .\" SRC END .in .SH SEE ALSO -.BR ioctl (2) +.MR ioctl 2 |