ioctl_fat - manipulating the FAT filesystem
Standard C library (libc, -lc)
#include <sys/ioctl.h>
int ioctl(int fd, unsigned long op, ...);
The ioctl(2) system call can be used to read and
write metadata of FAT filesystems that are not accessible using other
system calls. The following op values are available.
On success, a nonnegative value is returned. On error, -1 is
returned, and errno is set to indicate the error.
The file descriptor fd does not refer to an object in a FAT
filesystem.
Linux.
ioctl(2)